import { type DataViewReader } from "./data-view-reader.js"; /** *

Categories of alerts/messages.

*

The value 0x03 is interpreted as ?Simple Alert and Email bits set?

*

The value of the characteristic is a bit mask implemented as an array of unsigned 8 bit integers. The Alert Category ID Bit Mask characteristic defines one bit for each predefined category ID.

*/ export interface AlertCategoryIdBitMask { /** * | value | description | * | ----- | ------------- | * | 0 | Not Supported | * | 1 | Supported | */ call: number; /** *

Format: `uint8`

* * Bit field: * * | index | size | name | * | ----- | ---- | ------------ | * | 0 | 1 | Simple Alert | * | 1 | 1 | Email | * | 2 | 1 | News | * | 3 | 1 | Call | * | 4 | 1 | Missed Call | * | 5 | 1 | SMS/MMS | * | 6 | 1 | Voice Mail | * | 7 | 1 | Schedule | * */ categoryIDBitMask0: number; /** *

Format: `uint8`

* * Bit field: * * | index | size | name | * | ----- | ---- | ----------------------- | * | 0 | 1 | High Prioritized Alert | * | 1 | 1 | Instant Message | * | 2 | 6 | Reserved for future use | * */ categoryIDBitMask1?: number | undefined; /** * | value | description | * | ----- | ------------- | * | 0 | Not Supported | * | 1 | Supported | */ email: number; /** * | value | description | * | ----- | ------------- | * | 0 | Not Supported | * | 1 | Supported | */ highPrioritizedAlert: number; /** * | value | description | * | ----- | ------------- | * | 0 | Not Supported | * | 1 | Supported | */ instantMessage: number; /** * | value | description | * | ----- | ------------- | * | 0 | Not Supported | * | 1 | Supported | */ missedCall: number; /** * | value | description | * | ----- | ------------- | * | 0 | Not Supported | * | 1 | Supported | */ news: number; /** * | value | description | * | ----- | ------------- | * | 0 | Not Supported | * | 1 | Supported | */ schedule: number; /** * | value | description | * | ----- | ------------- | * | 0 | Not Supported | * | 1 | Supported | */ simpleAlert: number; /** * | value | description | * | ----- | ------------- | * | 0 | Not Supported | * | 1 | Supported | */ smsMMS: number; /** * | value | description | * | ----- | ------------- | * | 0 | Not Supported | * | 1 | Supported | */ voiceMail: number; } /** @see {@link https://raw.githubusercontent.com/oesmith/gatt-xml/refs/heads/master/org.bluetooth.characteristic.alert_category_id_bit_mask.xml | Alert Category Id Bit Mask} */ export declare class AlertCategoryIdBitMaskImpl implements AlertCategoryIdBitMask { static readonly UUID_PREFIX = 10818; static readonly TYPE_NAME = "org.bluetooth.characteristic.alert_category_id_bit_mask"; static readonly NAME = "Alert Category ID Bit Mask"; /** Parse from a DataView into {@link AlertCategoryIdBitMask}. */ static fromDataView(dataView: DataView | DataViewReader, indexStart?: number | undefined): AlertCategoryIdBitMaskImpl; readonly call: number; readonly categoryIDBitMask0: number; readonly categoryIDBitMask1?: number | undefined; readonly email: number; readonly highPrioritizedAlert: number; readonly instantMessage: number; readonly missedCall: number; readonly news: number; readonly schedule: number; readonly simpleAlert: number; readonly smsMMS: number; readonly voiceMail: number; constructor(alertCategoryIdBitMask: AlertCategoryIdBitMask); } /** Parse from a DataView into {@link AlertCategoryIdBitMask}. */ export declare function alertCategoryIdBitMaskFromDataView(dataView: DataView | DataViewReader, indexStart?: number): AlertCategoryIdBitMask; //# sourceMappingURL=alert-category-id-bit-mask.d.ts.map