trouble-host

Crates

0.2.0

Versions

default

Flavors

Constant GLUCOSE_MEASUREMENT_CONTEXT

Source
pub const GLUCOSE_MEASUREMENT_CONTEXT: BluetoothUuid16;
Expand description

Bluetooth characteristic UUID.

0x2a34 Glucose Measurement Context

The Glucose Measurement Context characteristic is used to represent context information associated with a glucose measurement record.


§Structure

§Data Type

FieldFlags
Typeboolean8
Size1

§Description

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

––///

§Data Type

FieldSequence Number
Typeuint16
Size2

§Description

Contains the sequence number of the corresponding Glucose Measurement as defined by the service.

––///

§Data Type

FieldExtended Flags
Typeboolean8
Size0 or 1

§Description

See sec:org.bluetooth.characteristic.glucose_measurement_context/field/extended_flags Present if bit 7 of Flags field is set to 1

––///

§Data Type

FieldCarbohydrate ID
Typeuint8
Size0 or 1

§Description

See sec:org.bluetooth.characteristic.glucose_measurement_context/field/carbohydrate_id Present if bit 0 of Flags field is set to 1

––///

§Data Type

FieldCarbohydrate
Typemedfloat16
Size0 or 2

§Description

Unit: org.bluetooth.unit.mass.kilogram Present if bit 0 of Flags field is set to 1

––///

§Data Type

FieldMeal
Typeuint8
Size0 or 1

§Description

See sec:org.bluetooth.characteristic.glucose_measurement_context/field/meal Present if bit 1 of Flags field is set to 1

––///

§Data Type

FieldTester-Health
Typestruct
Size0 or 1

§Description

See sec:org.bluetooth.characteristic.glucose_measurement_context/field/tester-health Present if bit 2 of Flags field is set to 1

––///

§Data Type

FieldExercise Duration
Typeuint16
Size0 or 2

§Description

See sec:org.bluetooth.characteristic.glucose_measurement_context/field/exercise_duration Unit: org.bluetooth.unit.time.second Present if bit 3 of Flags field is set to 1

––///

§Data Type

FieldExercise Intensity
Typeuint8
Size0 or 1

§Description

Unit: org.bluetooth.unit.percentage Present if bit 3 of Flags field is set to 1

––///

§Data Type

FieldMedication ID
Typeuint8
Size0 or 1

§Description

See sec:org.bluetooth.characteristic.glucose_measurement_context/field/medication_id Present if bit 4 of Flags field is set to 1

––///

§Data Type

FieldMedication
Typemedfloat16
Size0 or 2

§Description

If bit 5 of Flags field is set to 0, Unit: org.bluetooth.unit.mass.kilogram If bit 5 of Flags field is set to 1, Unit: org.bluetooth.unit.volume.litre Present if bit 4 of Flags field is set to 1

––///

§Data Type

FieldHbA1c
Typemedfloat16
Size0 or 2

§Description

Unit: org.bluetooth.unit.percentage Present if bit 6 of Flags field is set to 1


more information