trouble-host

Crates

0.2.0

Versions

default

Flavors

Constant TREADMILL_DATA

Source
pub const TREADMILL_DATA: BluetoothUuid16;
Expand description

Bluetooth characteristic UUID.

0x2acd Treadmill Data

The Treadmill Data characteristic is used to represent data related to a treadmill.


§Structure

§Data Type

FieldFlags
Typeboolean16
Size2

§Description

See sec:org.bluetooth.characteristic.treadmill_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 belt of the treadmill. 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

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 2 of Flags field is set to 1

––///

§Data Type

FieldInclination
Typesint16
Size0 or 2

§Description

Base Unit: org.bluetooth.unit.percentage Represented values: M = 1, d = -1, b = 0 Unit is 1/10 of a percent The Inclination field represents the current inclination of the Server. A positive value means that the user feels as if they are going uphill and a negative value means that the user feels as if they are going downhill. Present if bit 3 of Flags field is set to 1

––///

§Data Type

FieldRamp Angle Setting
Typesint16
Size0 or 2

§Description

Base Unit: org.bluetooth.unit.plane_angle.degree Represented values: M = 1, d = -1, b = 0 Unit is 1/10 of a degree The Ramp Angle Setting field represents the current setting of the ramp angle of the Server. Present if bit 3 of Flags field is set to 1

––///

§Data Type

FieldPositive Elevation Gain
Typeuint16
Size0 or 2

§Description

Base Unit: org.bluetooth.unit.length.metre Represented values: M = 1, d = -1, b = 0 Unit is 1/10 of a meter The Positive Elevation Gain field represents the positive elevation gain since the training session has started. Present if bit 4 of Flags field is set to 1

––///

§Data Type

FieldNegative Elevation Gain
Typeuint16
Size0 or 2

§Description

Base Unit: org.bluetooth.unit.length.metre Represented values: M = 1, d = -1, b = 0 Unit is 1/10 of a meter The Negative Elevation Gain field represents the negative elevation gain since the training session has started. Present if bit 4 of Flags field is set to 1

––///

§Data Type

FieldInstantaneous Pace (Time per 500 meters)
Typeuint16
Size0 or 2

§Description

Unit: org.bluetooth.unit.time.second The Instantaneous Pace field represents the instantaneous pace of a user while exercising. This value is directly related to the instantaneous speed of the treadmill but is presented with different units. Present if bit 5 of Flags field is set to 1

––///

§Data Type

FieldAverage Pace (Time per 500 meters)
Typeuint16
Size0 or 2

§Description

Unit: org.bluetooth.unit.time.second The Average Pace field represents the average pace of a user since the beginning of the training session. This value is directly related to the average speed of the treadmill but is presented with different units. Present if bit 6 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 7 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 7 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 7 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 8 of Flags field is set to 1

––///

§Data Type

FieldMetabolic Equivalent
Typeuint8
Size0 or 1

§Description

Unit: org.bluetooth.unit.metabolic_equivalent The Metabolic Equivalent field represents the metabolic equivalent of the user. Present if bit 9 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 10 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 training session that has been selected. Present if bit 11 of Flags field is set to 1

––///

§Data Type

FieldForce On Belt
Typesint16
Size0 or 2

§Description

Unit: org.bluetooth.unit.force.newton The Force on Belt field represents the force being applied to the treadmill belt by the user’s steps. A positive value means that the user is accelerating the belt and a negative value means that the user is slowing down the belt Present if bit 12 of Flags field is set to 1

––///

§Data Type

FieldPower Output
Typesint16
Size0 or 2

§Description

Unit: org.bluetooth.unit.power.watt The Power Output field represents the power being applied to the treadmill by the user’s steps. A positive value means that the user is accelerating the belt and a negative value means that the user is slowing down the belt. Present if bit 12 of Flags field is set to 1


more information