Skip to content

Instantly share code, notes, and snippets.

@marcelrv
Last active September 20, 2022 07:39
Show Gist options
  • Save marcelrv/6e8f75b2aa6b3967b8159bc6a8617a47 to your computer and use it in GitHub Desktop.
Save marcelrv/6e8f75b2aa6b3967b8159bc6a8617a47 to your computer and use it in GitHub Desktop.
Bluetooth Fitness Data

List with Specs

https://www.bluetooth.com/specifications/specs/ Assigned numbers: https://btprodspecificationrefs.blob.core.windows.net/assigned-values/16-bit%20UUID%20Numbers%20Document.pdf

Fitness Machine Profile --> FTMP

https://www.bluetooth.com/specifications/specs/fitness-machine-profile-1-0/

ID GATT Characteristic
0x2ACC Fitness Machine Feature
0x2ACD Treadmill Data
0x2ACE Cross Trainer Data
0x2ACF Step Climber Data
0x2AD0 Stair Climber Data
0x2AD1 Rower Data
0x2AD2 Indoor Bike Data
0x2AD3 Training Status
0x2AD4 Supported Speed Range
0x2AD5 Supported Inclination Range
0x2AD6 Supported Resistance Level Range
0x2AD7 Supported Heart Rate Range
0x2AD8 Supported Power Range
0x2AD9 Fitness Machine Control Point
0x2ADA Fitness Machine Status

Detailed field len for each parameter: https://github.com/oesmith/gatt-xml/blob/master/org.bluetooth.characteristic.treadmill_data.xml

Fitness Machine Service 1.0 --> FTMS

https://www.bluetooth.com/specifications/specs/fitness-machine-service-1-0/ id: 0x1826

HEART RATE Profile

https://www.bluetooth.com/specifications/specs/heart-rate-profile-1-0/

ID GATT Characteristic
0x2A37 Heart Rate Measurement
0x2A38 Body Sensor Location
0x2A39 Heart Rate Control Point

https://github.com/oesmith/gatt-xml/blob/master/org.bluetooth.characteristic.heart_rate_measurement.xml https://github.com/oesmith/gatt-xml/blob/master/org.bluetooth.characteristic.heart_rate_max.xml https://github.com/oesmith/gatt-xml/blob/master/org.bluetooth.characteristic.heart_rate_control_point.xml

Heart Rate Service 1.0

https://www.bluetooth.com/specifications/specs/heart-rate-service-1-0/ id 0x180D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment