Skip to content

Latest commit

 

History

History
119 lines (101 loc) · 6.34 KB

PROTOCOL.md

File metadata and controls

119 lines (101 loc) · 6.34 KB

WHOOP BLE protocol

An interoperability reference for apps communicating directly with WHOOP straps. Start with the device profile, then follow the operation or record you need. Documentation coverage is broader than any one implementation's command and record subset.

Scope and compatibility

WHOOP 4 and WHOOP 5/MG share protocol concepts, but have different GATT services, frame headers and connection flows. A shared command name does not establish the same request or response bytes. WHOOP 5 historical data is not a WHOOP 4 layout with shifted offsets.

The WHOOP 5/MG topic references use firmware 50.42.1.0 as their common version baseline unless a passage explicitly identifies an earlier observation or a client-only interpretation. WHOOP 5 and MG use one shared protocol profile at this version, while ECG still depends on hardware capability. This does not establish identical features across every release or both devices. These baseline contracts do not claim device validation.

Earlier observations cover ECG on MG 50.39.1.0, optical/IMU records and reboot on 50.40.1.0, R-R conversion on 50.41.1.0, and older Hello decoding on 50.38.1.0. The WHOOP 4 profile is centered on 41.17.6.0 where that version is retained; feature-name enumeration is a separately bounded 41.16.6.0 capture, and 41.17.6.0 can emit version-25 records depending on device configuration. Their distinct limits remain at the relevant operation; they do not override the baseline. WHOOP 4 is a version-bounded wire profile. It is documented to the same topical boundaries as WHOOP 5/MG, but it does not inherit the 50.42.1.0 command set, configuration namespaces, sensor layouts or update interfaces where no WHOOP 4 contract is documented.

Each contract states its applicable family and version. Observed device behavior, application behavior and version-specific support are kept distinct; successful acknowledgement is never treated as proof of persistence or physical effect.

Profile Start here Interpretation
WHOOP 4 WHOOP 4 profile Legacy connection, framing, identity and record conventions
WHOOP 5/MG WHOOP 5/MG profile Shared transport; check capabilities independently
All readers Shared concepts Integrity, request lifecycle and durable history handling

Command revision, record layout and inner record version remain explicit byte selectors throughout the reference. Unknown means unresolved, not unsupported. “Defined” does not mean available in every state or implemented by every application.

Reading guide

Task Authoritative topic
Frame, correlate and recover a connection Transport
Compare an operation or its limitations Command matrix: every ID 1–159 once; the documented WHOOP 4 firmware 41.17.6.0 command set has 85 S and 47 U entries across IDs 1–132, while WHOOP 5/MG has 71 supported and 88 unsupported IDs
Configure collection and output Configuration: 8 device keys and 25 feature descriptors
Decode measurements Sensor records
Control and decode MG ECG ECG
Schedule or stop an alarm Alarms
Understand image transfer and authorization Updates and authorization
Know the hardware behind a contract Hardware overview on the WHOOP 4 and WHOOP 5/MG profile pages
Work on the NOOP integration Contract-to-implementation map
Reproduce selected parsing rules Constructed examples

Each contract has one authoritative topic. Historical experiments and application-specific timing or interpretation conventions are labeled separately. In particular, the older deep-data experiment is not a universal enable recipe.

Remaining boundaries

Absolute ECG sample timing and voltage calibration, some physiological field meanings, complete bootloader acceptance and several runtime/error interactions remain unresolved. Local limits are recorded beside each contract. Constructed examples check selected arithmetic and state rules; they are not device tests.

Project and credits

NOOP is an independent, offline companion and is not affiliated with WHOOP or a medical device. See disclaimer and attribution. The existing work builds on johnmiddleton12/my-whoop (WHOOP 4) and b-nnett/goose (WHOOP 5); further credits remain with the historical observations. The Swift protocol package and Android protocol entry points are indexed in the file map.

Legacy anchors

The following anchors keep older links into this page resolvable.