src.bluetooth_sig.gatt.characteristics.alert_notification_control_point

Alert Notification Control Point characteristic (0x2A44) implementation.

Control point for enabling/disabling alert notifications and triggering immediate notifications. Used by Alert Notification Service (0x1811).

Based on Bluetooth SIG GATT Specification: - Alert Notification Control Point: 2 bytes (Command ID + Category ID)

Classes

Name

Description

AlertNotificationControlPointCharacteristic

Alert Notification Control Point characteristic (0x2A44).

AlertNotificationControlPointData

Alert Notification Control Point characteristic data structure.

Module Contents

class src.bluetooth_sig.gatt.characteristics.alert_notification_control_point.AlertNotificationControlPointCharacteristic

Bases: src.bluetooth_sig.gatt.characteristics.base.BaseCharacteristic[AlertNotificationControlPointData]

Alert Notification Control Point characteristic (0x2A44).

Control point for enabling/disabling notifications and requesting immediate alerts.

Structure (2 bytes): - Command ID: uint8 (0=Enable New Alert, 1=Enable Unread Status, etc.) - Category ID: uint8 (0=Simple Alert, 1=Email, etc. - target category for command)

Commands: - 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

Used by Alert Notification Service (0x1811).

allow_variable_length: bool = True
min_length: int = 2
class src.bluetooth_sig.gatt.characteristics.alert_notification_control_point.AlertNotificationControlPointData

Bases: msgspec.Struct

Alert Notification Control Point characteristic data structure.

category_id: src.bluetooth_sig.types.AlertCategoryID
command_id: src.bluetooth_sig.types.AlertNotificationCommandID