pub const WEIGHT_MEASUREMENT: BluetoothUuid16;Expand description
Bluetooth characteristic UUID.
0x2a9d Weight Measurement
The Weight Measurement characteristic is used to represent data related to a weight measurement.
§Structure
§Data Type
| Field | Flags |
| Type | boolean8 |
| Size | 1 |
§Description
See sec:org.bluetooth.characteristic.weight_measurement/field/flags
––///
§Data Type
| Field | Weight |
| Type | uint16 |
| Size | 2 |
§Description
This field is in kilograms with resolution 0.005 if the bit 0 of the Flag field is 0 or in pounds with a resolution of 0.01 if the bit 0 of the Flag field is 1.
––///
§Data Type
| Field | Time Stamp |
| Type | struct |
| Size | 0 or 7 |
§Description
Refer to Date Time characteristic in sec:org.bluetooth.characteristic.date_time
Present if bit 1 of Flags field is set to 1
––///
§Data Type
| Field | User ID |
| Type | uint8 |
| Size | 0 or 1 |
§Description
The special value of 0xFF for User ID represents “unknown user”. Present if bit 2 of Flags field is set to 1
––///
§Data Type
| Field | BMI |
| Type | uint16 |
| Size | 0 or 2 |
§Description
Unit is 0.1 kg/m2 or org.bluetooth.unit.kilogram_per_square_metre Represented values: M = 1, d = -1, b = 0. Present if bit 3 of Flags field is set to 1
––///
§Data Type
| Field | Height |
| Type | uint16 |
| Size | 0 or 2 |
§Description
This field is in meters with a resolution of 0.001 if the bit 0 of the Flag field is 0 or in inches with a resolution of 0.1 if the bit 0 of the Flag field is 1. Present if bit 3 of Flags field is set to 1