trouble-host

Crates

0.2.0

Versions

default

Flavors

Constant CGM_STATUS

Source
pub const CGM_STATUS: BluetoothUuid16;
Expand description

Bluetooth characteristic UUID.

0x2aa9 CGM Status

The CGM Status characteristic is used to represent the current status of a continuous glucose monitor (CGM) sensor.


§Structure

§Data Type

FieldTime Offset
Typeuint16
Size2

§Description

The Time Offset field specifies the time since the Session Start Time (see sec:org.bluetooth.characteristic.cgm_session_start_time).

––///

§Data Type

FieldCGM Status
Typeboolean24
Size3

§Description

The structure of this field is identical to the structure of the combined Status fields as defined in sec:org.bluetooth.characteristic.cgm_measurement/field/sensor_status_annunciation, but it always consists of three octets regardless of the value.

––///

§Data Type

FieldE2E-CRC
Typeuint16
Size0 or 2

§Description

CRC calculated over all fields except the E2E-CRC field itself. See sec:crc_calculation for details. Present if E2E-CRC Supported bit in CGM Feature characteristic is set to 1


more information