GlucoseMeasurement

data class GlucoseMeasurement(val sequenceNumber: Int, val baseTime: BleDateTime, val timeOffset: Int?, val concentration: Float?, val unit: GlucoseConcentrationUnit?, val type: GlucoseType?, val sampleLocation: GlucoseSampleLocation?, val sensorStatus: GlucoseSensorStatus?)

Parsed Glucose Measurement (0x2A18) notification payload.

Constructors

Link copied to clipboard
constructor(sequenceNumber: Int, baseTime: BleDateTime, timeOffset: Int?, concentration: Float?, unit: GlucoseConcentrationUnit?, type: GlucoseType?, sampleLocation: GlucoseSampleLocation?, sensorStatus: GlucoseSensorStatus?)

Properties

Link copied to clipboard

Timestamp of the measurement.

Link copied to clipboard

Glucose concentration in unit, if present.

Link copied to clipboard

Where the sample was taken, if present.

Link copied to clipboard

Sensor status flags, if present.

Link copied to clipboard

Monotonically increasing measurement counter.

Link copied to clipboard

Offset from baseTime in minutes, if present.

Link copied to clipboard

Sample type (capillary, venous, etc.), if present.

Link copied to clipboard

Concentration unit (kg/L or mol/L), if present.