trouble-host

Crates

0.2.0

Versions

default

Flavors

Constant INDOOR_BIKE_DATA

Source
pub const INDOOR_BIKE_DATA: BluetoothUuid16;
Expand description

Bluetooth characteristic UUID.

0x2ad2 Indoor Bike Data

The Indoor Bike Data characteristic is used to represent data related to the use of an indoor bike.


§Structure

§Data Type

FieldFlags
Typeboolean16
Size2

§Description

See sec:org.bluetooth.characteristic.indoor_bike_data/field/flags

––///

§Data Type

FieldInstantaneous Speed
Typeuint16
Size0 or 2

§Description

Base Unit: org.bluetooth.unit.velocity.kilometre_per_hour Represented values: M = 1, d = -2, b = 0 Unit is 1/100 of a kilometer per hour The Instantaneous Speed field represents the instantaneous speed of the user. Present if bit 0 of Flags field is set to 0

––///

§Data Type

FieldAverage Speed
Typeuint16
Size0 or 2

§Description

Base Unit: org.bluetooth.unit.velocity.kilometre_per_hour Represented values: M = 1, d = -2, b = 0 Unit is 1/100 of a kilometer per hour The Average Speed field represents the average speed since the beginning of the training session. Present if bit 1 of Flags field is set to 1

––///

§Data Type

FieldInstantaneous Cadence
Typeuint16
Size0 or 2

§Description

Base Unit: org.bluetooth.unit.angular_velocity.revolution_per_minute Represented values: M = 1, d = 0, b = -1 Unit is 1/2 of a revolution per minute The Instantaneous Cadence field represents the instantaneous cadence of the user. Present if bit 2 of Flags field is set to 1

––///

§Data Type

FieldAverage Cadence
Typeuint16
Size0 or 2

§Description

Base Unit: org.bluetooth.unit.angular_velocity.revolution_per_minute Represented values: M = 1, d = 0, b = -1 Unit is 1/2 of a revolution per minute The Average Speed field represents the average cadence since the beginning of the training session. Present if bit 3 of Flags field is set to 1

––///

§Data Type

FieldTotal Distance
Typeuint24
Size0 or 3

§Description

Unit: org.bluetooth.unit.length.metre The Total Distance field represents the total distance reported by the Server since the beginning of the training session. Present if bit 4 of Flags field is set to 1

––///

§Data Type

FieldResistance Level
Typeuint8
Size0 or 1

§Description

Base Unit: org.bluetooth.unit.unitless Represented values: M = 1, d = 1, b = 0 Unit is 1 The Resistance Level field represents the value of the current value of the resistance level of the Server. Present if bit 5 of Flags field is set to 1

––///

§Data Type

FieldInstantaneous Power
Typesint16
Size0 or 2

§Description

Unit: org.bluetooth.unit.power.watt The Instantaneous Power field represents the value of the instantaneous power measured by the Server. Present if bit 6 of Flags field is set to 1

––///

§Data Type

FieldAverage Power
Typesint16
Size0 or 2

§Description

Unit: org.bluetooth.unit.power.watt The Average Power field represents the value of the average power measured by the Server since the beginning of the training session. Present if bit 7 of Flags field is set to 1

––///

§Data Type

FieldTotal Energy
Typeuint16
Size0 or 2

§Description

Unit: org.bluetooth.unit.energy.kilogram_calorie The Total Energy field represents the total expended energy of a user since the training session has started. Present if bit 8 of Flags field is set to 1

––///

§Data Type

FieldEnergy Per Hour
Typeuint16
Size0 or 2

§Description

Unit: org.bluetooth.unit.energy.kilogram_calorie The Energy per Hour field represents the average expended energy of a user during a period of one hour. Present if bit 8 of Flags field is set to 1

––///

§Data Type

FieldEnergy Per Minute
Typeuint8
Size0 or 1

§Description

Unit: org.bluetooth.unit.energy.kilogram_calorie The Energy per Minute field represents the average expended energy of a user during a period of one minute. Present if bit 8 of Flags field is set to 1

––///

§Data Type

FieldHeart Rate
Typeuint8
Size0 or 1

§Description

Unit: org.bluetooth.unit.period.beats_per_minute The Heart Rate field represents the current heart rate value of the user (e.g., measured via the contact heart rate or any other means). Present if bit 9 of Flags field is set to 1

––///

§Data Type

FieldMetabolic Equivalent
Typeuint8
Size0 or 1

§Description

Base Unit: org.bluetooth.unit.metabolic_equivalent Represented values: M = 1, d = -1, b = 0 Unit is 1/10 metabolic equivalent The Metabolic Equivalent field represents the metabolic equivalent of the user. Present if bit 10 of Flags field is set to 1

––///

§Data Type

FieldElapsed Time
Typeuint16
Size0 or 2

§Description

Unit: org.bluetooth.unit.time.second The Elapsed Time field represents the elapsed time of a training session since the training session has started. Present if bit 11 of Flags field is set to 1

––///

§Data Type

FieldRemaining Time
Typeuint16
Size0 or 2

§Description

Unit: org.bluetooth.unit.time.second The Remaining Time field represents the remaining time of a selected training session. Present if bit 12 of Flags field is set to 1


more information