trouble-host

Crates

0.2.0

Versions

default

Flavors

Constant CYCLING_POWER_VECTOR

Source
pub const CYCLING_POWER_VECTOR: BluetoothUuid16;
Expand description

Bluetooth characteristic UUID.

0x2a64 Cycling Power Vector

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


§Structure

§Data Type

FieldFlags
Typeboolean8
Size1

§Description

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

––///

§Data Type

FieldCrank Revolution Data
Typestruct
Size0 or 4

§Description

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

––///

§Data Type

FieldFirst Crank Measurement Angle
Typeuint16
Size0 or 2

§Description

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

––///

§Data Type

FieldInstantaneous Force Magnitude Array
Typesint16 0–9
Size0–18

§Description

Unit: org.bluetooth.unit.force.newton Present if bit 2 of Flags field is set to 1

––///

§Data Type

FieldInstantaneous Torque Magnitude Array
Typesint16 0–9
Size0–18

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


more information