import { type DataViewReader } from "./data-view-reader.js"; import { type AlertCategoryId } from "./alert-category-id.js"; /** *
Control point of the Alert Notification server. Client can write the command here to request the several functions toward the server.
*The data 0x02 0x01 interprets ?Disable New Incoming Notification for Email Category?.
*The 2nd octet value of the characteristic is an ?Alert Category ID? format. This octet shows the target category that the command ID applies for.
*/ export interface AlertNotificationControlPoint { /**Target category that the command applies to.
*/ categoryID: AlertCategoryId; /** *Format: `uint8`
* | Key | Description | * | --- | ------------------------------------------- | * | 0 | Enable New Incoming Alert Notification | * | 1 | Enable Unread Category Status Notification | * | 2 | Disable New Incoming Alert Notification | * | 3 | Disable Unread Category Status Notification | * | 4 | Notify New Incoming Alert immediately | * | 5 | Notify Unread Category Status immediately | * *Reserved for future use: 6 to 255
*/ commandID: number; } /** @see {@link https://raw.githubusercontent.com/oesmith/gatt-xml/refs/heads/master/org.bluetooth.characteristic.alert_notification_control_point.xml | Alert Notification Control Point} */ export declare class AlertNotificationControlPointImpl implements AlertNotificationControlPoint { static readonly UUID_PREFIX = 10820; static readonly TYPE_NAME = "org.bluetooth.characteristic.alert_notification_control_point"; static readonly NAME = "Alert Notification Control Point"; /** Parse from a DataView into {@link AlertNotificationControlPoint}. */ static fromDataView(dataView: DataView | DataViewReader, indexStart?: number | undefined): AlertNotificationControlPointImpl; readonly categoryID: AlertCategoryId; readonly commandID: number; constructor(alertNotificationControlPoint: AlertNotificationControlPoint); } /** Parse from a DataView into {@link AlertNotificationControlPoint}. */ export declare function alertNotificationControlPointFromDataView(dataView: DataView | DataViewReader, indexStart?: number): AlertNotificationControlPoint; //# sourceMappingURL=alert-notification-control-point.d.ts.map