trouble-host

Crates

0.2.0

Versions

default

Flavors

Constant TEMPERATURE_MEASUREMENT

Source
pub const TEMPERATURE_MEASUREMENT: BluetoothUuid16;
Expand description

Bluetooth characteristic UUID.

0x2a1c Temperature Measurement

The Temperature Measurement characteristic is used to represent data related to a temperature measurement.


§Structure

§Data Type

FieldFlags
Typeboolean8
Size1

§Description

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

––///

§Data Type

FieldTemperature Measurement Value (Celsius)
Typemedfloat32
Size0 or 4

§Description

This field contains a measurement value. Unit: org.bluetooth.unit.thermodynamic_temperature.degree_celsius. Present if bit 0 of Flags field is set to 0

––///

§Data Type

FieldTemperature Measurement Value (Fahrenheit)
Typemedfloat32
Size0 or 4

§Description

This field contains a measurement value. Unit: org.bluetooth.unit.thermodynamic_temperature.degree_fahrenheit. Present if bit 0 of Flags field is set to 1

––///

§Data Type

FieldTime Stamp
Typestruct
Size0 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

FieldTemperature Type
Typeuint8
Size0 or 1

§Description

The format of this field is the same as the format of the Temperature Type characteristic in sec:org.bluetooth.characteristic.temperature_type. Present if bit 2 of Flags field is set to 1


more information