pub const LOCATION_AND_SPEED: BluetoothUuid16;
Expand description
Bluetooth characteristic UUID.
0x2a67
Location and Speed
The Location and Speed characteristic is used to represent data related to a location and speed sensor. Note that it is possible for this characteristic to exceed the default LE ATT_MTU size.
§Structure
§Data Type
Field | Flags |
Type | boolean16 |
Size | 2 |
§Description
See sec:org.bluetooth.characteristic.location_and_speed/field/flags
––///
§Data Type
Field | Instantaneous Speed |
Type | uint16 |
Size | 0 or 2 |
§Description
Base Unit: org.bluetooth.unit.velocity.metres_per_second Represented values: M = 1, d = -2, b = 0 Unit is 1/100 of a m/s Present if bit 0 of Flags field is set to 1
––///
§Data Type
Field | Total Distance |
Type | uint24 |
Size | 0 or 3 |
§Description
Base Unit: org.bluetooth.unit.length.metre Represented values: M = 1, d = -1, b = 0 Unit is 1/10 m Present if bit 1 of Flags field is set to 1
––///
§Data Type
Field | Location - Latitude |
Type | sint32 |
Size | 0 or 4 |
§Description
Base Unit: org.bluetooth.unit.plane_angle.degree Represented values: M = 1, d = -7, b = 0 Unit is 1*10\textsuperscript{-7` degrees Present if bit 2 of Flags field is set to 1
––///
§Data Type
Field | Location - Longitude |
Type | sint32 |
Size | 0 or 4 |
§Description
Base Unit: org.bluetooth.unit.plane_angle.degree Represented values: M = 1, d = -7, b = 0 Unit is 1*10\textsuperscript{-7` degrees Present if bit 2 of Flags field is set to 1
––///
§Data Type
Field | Elevation |
Type | sint24 |
Size | 0 or 3 |
§Description
Base Unit: org.bluetooth.unit.length.metre Represented values: M = 1, d = -2, b = 0 Unit is 1/100 m Present if bit 3 of Flags field is set to 1
––///
§Data Type
Field | Heading |
Type | uint16 |
Size | 0 or 2 |
§Description
Base Unit: org.bluetooth.unit.plane_angle.degree Represented values: M = 1, d = -2, b = 0 Unit is 1*10\textsuperscript{-2` degrees Present if bit 4 of Flags field is set to 1
––///
§Data Type
Field | Rolling Time |
Type | uint8 |
Size | 0 or 1 |
§Description
Unit: org.bluetooth.unit.time.second Present if bit 5 of Flags field is set to 1
––///
§Data Type
Field | UTC Time |
Type | struct |
Size | 0 or 7 |
§Description
Refer to Date Time characteristic in sec:org.bluetooth.characteristic.date_time
.
Present if bit 6 of Flags field is set to 1