import { type DataViewReader } from "./data-view-reader.js"; /**
The Glucose Feature characteristic is used to describe the supported features of the Server. When read, the Glucose Feature characteristic returns a value that is used by a Client to determine the supported features of the Server.
*/ export interface GlucoseFeature { /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ generalDeviceFaultSupported: number; /** *Format: `16bit`
* * Bit field: * * | index | size | name | * | ----- | ---- | -------------------------------------------------- | * | 0 | 1 | Low Battery Detection During Measurement Supported | * | 1 | 1 | Sensor Malfunction Detection Supported | * | 2 | 1 | Sensor Sample Size Supported | * | 3 | 1 | Sensor Strip Insertion Error Detection Supported | * | 4 | 1 | Sensor Strip Type Error Detection Supported | * | 5 | 1 | Sensor Result High-Low Detection Supported | * | 6 | 1 | Sensor Temperature High-Low Detection Supported | * | 7 | 1 | Sensor Read Interrupt Detection Supported | * | 8 | 1 | General Device Fault Supported | * | 9 | 1 | Time Fault Supported | * | 10 | 1 | Multiple Bond Supported | * | 11 | 5 | Reserved for future use | * */ glucoseFeature: number; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ lowBatteryDetectionDuringMeasurementSupported: number; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ multipleBondSupported: number; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ sensorMalfunctionDetectionSupported: number; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ sensorReadInterruptDetectionSupported: number; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ sensorResultHighLowDetectionSupported: number; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ sensorSampleSizeSupported: number; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ sensorStripInsertionErrorDetectionSupported: number; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ sensorStripTypeErrorDetectionSupported: number; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ sensorTemperatureHighLowDetectionSupported: number; /** * | value | description | * | ----- | ----------- | * | 0 | False | * | 1 | True | */ timeFaultSupported: number; } /** @see {@link https://raw.githubusercontent.com/oesmith/gatt-xml/refs/heads/master/org.bluetooth.characteristic.glucose_feature.xml | Glucose Feature} */ export declare class GlucoseFeatureImpl implements GlucoseFeature { static readonly UUID_PREFIX = 10833; static readonly TYPE_NAME = "org.bluetooth.characteristic.glucose_feature"; static readonly NAME = "Glucose Feature"; /** Parse from a DataView into {@link GlucoseFeature}. */ static fromDataView(dataView: DataView | DataViewReader, indexStart?: number | undefined): GlucoseFeatureImpl; readonly generalDeviceFaultSupported: number; readonly glucoseFeature: number; readonly lowBatteryDetectionDuringMeasurementSupported: number; readonly multipleBondSupported: number; readonly sensorMalfunctionDetectionSupported: number; readonly sensorReadInterruptDetectionSupported: number; readonly sensorResultHighLowDetectionSupported: number; readonly sensorSampleSizeSupported: number; readonly sensorStripInsertionErrorDetectionSupported: number; readonly sensorStripTypeErrorDetectionSupported: number; readonly sensorTemperatureHighLowDetectionSupported: number; readonly timeFaultSupported: number; constructor(glucoseFeature: GlucoseFeature); } /** Parse from a DataView into {@link GlucoseFeature}. */ export declare function glucoseFeatureFromDataView(dataView: DataView | DataViewReader, indexStart?: number): GlucoseFeature; //# sourceMappingURL=glucose-feature.d.ts.map