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
| Field | Flags |
| Type | boolean8 |
| Size | 1 |
§Description
See sec:org.bluetooth.characteristic.temperature_measurement/field/flags.
––///
§Data Type
| Field | Temperature Measurement Value (Celsius) |
| Type | medfloat32 |
| Size | 0 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
| Field | Temperature Measurement Value (Fahrenheit) |
| Type | medfloat32 |
| Size | 0 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
| 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 | Temperature Type |
| Type | uint8 |
| Size | 0 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