trouble-host

Crates

0.2.4

Versions

default

Flavors

Constant LOCATION_AND_SPEED

Source
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

FieldFlags
Typeboolean16
Size2

§Description

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

––///

§Data Type

FieldInstantaneous Speed
Typeuint16
Size0 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

FieldTotal Distance
Typeuint24
Size0 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

FieldLocation - Latitude
Typesint32
Size0 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

FieldLocation - Longitude
Typesint32
Size0 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

FieldElevation
Typesint24
Size0 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

FieldHeading
Typeuint16
Size0 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

FieldRolling Time
Typeuint8
Size0 or 1

§Description

Unit: org.bluetooth.unit.time.second Present if bit 5 of Flags field is set to 1

––///

§Data Type

FieldUTC Time
Typestruct
Size0 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


more information