trouble-host

Crates

0.2.0

Versions

default

Flavors

Constant CYCLING_POWER_MEASUREMENT

Source
pub const CYCLING_POWER_MEASUREMENT: BluetoothUuid16;
Expand description

Bluetooth characteristic UUID.

0x2a63 Cycling Power Measurement

The Cycling Power Measurement characteristic is used to represent data related to a cycling power sensor.


§Structure

§Data Type

FieldFlags
Typeboolean16
Size2

§Description

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

––///

§Data Type

FieldInstantaneous Power
Typesint16
Size2

§Description

Unit: org.bluetooth.unit.power.watt

––///

§Data Type

FieldPedal Power Balance
Typeuint8
Size0 or 1

§Description

Base Unit: org.bluetooth.unit.percentage Represented values: M = 1, d = 0, b = -1 Unit is 1/2 of a percent Present if bit 0 of Flags field is set to 1

––///

§Data Type

FieldAccumulated Torque
Typeuint16
Size0 or 2

§Description

Base Unit: org.bluetooth.unit.moment_of_force.newton_metre Represented values: M = 1, d = 0, b = -5 Unit is 1/32 Newton meter Present if bit 2 of Flags field is set to 1

––///

§Data Type

FieldWheel Revolution Data
Typestruct
Size0 or 6

§Description

See sec:org.bluetooth.characteristic.cycling_power_measurement/field/wheel_revolution_data Present if bit 4 of Flags field is set to 1

––///

§Data Type

FieldCrank Revolution Data
Typestruct
Size0 or 4

§Description

See sec:org.bluetooth.characteristic.cycling_power_measurement/field/crank_revolution_data Present if bit 5 of Flags field is set to 1

––///

§Data Type

FieldExtreme Force Magnitudes
Typestruct
Size0 or 4

§Description

See sec:org.bluetooth.characteristic.cycling_power_measurement/field/extreme_force_magnitudes Present if bit 6 of Flags field is set to 1

––///

§Data Type

FieldExtreme Torque Magnitudes
Typestruct
Size0 or 4

§Description

See sec:org.bluetooth.characteristic.cycling_power_measurement/field/extreme_torque_magnitudes Present if bit 7 of Flags field is set to 1

––///

§Data Type

FieldExtreme Angles
Typestruct
Size0 or 3

§Description

See sec:org.bluetooth.characteristic.cycling_power_measurement/field/extreme_angles Present if bit 8 of Flags field is set to 1

––///

§Data Type

FieldTop Dead Spot Angle
Typeuint16
Size0 or 2

§Description

See sec:org.bluetooth.characteristic.cycling_power_measurement/field/top_and_bottom_dead_spot_angles Unit: org.bluetooth.unit.plane_angle.degree Present if bit 9 of Flags field is set to 1

––///

§Data Type

FieldBottom Dead Spot Angle
Typeuint16
Size0 or 2

§Description

See sec:org.bluetooth.characteristic.cycling_power_measurement/field/top_and_bottom_dead_spot_angles Unit: org.bluetooth.unit.plane_angle.degree Present if bit 10 of Flags field is set to 1

––///

§Data Type

FieldAccumulated Energy
Typeuint16
Size0 or 2

§Description

Base Unit: org.bluetooth.unit.energy.joule Represented values: M = 1, d = 3, b = 0 Unit is kilojoule Present if bit 11 of Flags field is set to 1


more information