trouble-host

Crates

0.2.0

Versions

default

Flavors

Constant GLUCOSE_MEASUREMENT

Source
pub const GLUCOSE_MEASUREMENT: BluetoothUuid16;
Expand description

Bluetooth characteristic UUID.

0x2a18 Glucose Measurement

The Glucose Measurement characteristic is used to represent data related to a glucose measurement record.


§Structure

§Data Type

FieldFlags
Typeboolean8
Size1

§Description

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

––///

§Data Type

FieldSequence Number
Typeuint16
Size2

§Description

Contains a sequence number of the record. It is used to number a sequence of measurements as defined by the service.

––///

§Data Type

FieldBase Time
Typestruct
Size7

§Description

Refer to Date Time characteristic in sec:org.bluetooth.characteristic.date_time

––///

§Data Type

FieldTime Offset
Typeint16
Size0 or 2

§Description

Specifies the time difference from the value of the Base Time field. See sec:org.bluetooth.characteristic.glucose_measurement/field/time_offset unit: org.bluetooth.unit.time.minute Present if bit 0 of Flags field is set to 1

––///

§Data Type

FieldGlucose Concentration
Typemedfloat16
Size0 or 2

§Description

If bit 2 of Flags field is set to 0, unit: org.bluetooth.unit.mass_density.kilogram_per_liter If bit 2 of Flags field is set to 1, unit: org.bluetooth.unit.mass_density.mole_per_litre Present if bit 1 of Flags field is set to 1

––///

§Data Type

FieldType-Sample Location
Typestruct
Size0 or 1

§Description

See sec:org.bluetooth.characteristic.glucose_measurement/field/type-sample_location Present if bit 1 of Flags field is set to 1

––///

§Data Type

FieldSensor Status Annunciation
Typeboolean16
Size0 or 2

§Description

See sec:org.bluetooth.characteristic.glucose_measurement/field/sensor_status_annunciation Present if bit 3 of Flags field is set to 1


more information