src.bluetooth_sig.gatt.characteristics.new_alert¶
New Alert characteristic (0x2A46) implementation.
Represents a new alert with category, count, and optional text information. Used by Alert Notification Service (0x1811).
Based on Bluetooth SIG GATT Specification: - New Alert: Variable length (Category ID + Number of New Alert + Text String)
Classes¶
Name | Description |
|---|---|
New Alert characteristic (0x2A46). |
|
New Alert characteristic data structure. |
Module Contents¶
- class src.bluetooth_sig.gatt.characteristics.new_alert.NewAlertCharacteristic¶
Bases:
src.bluetooth_sig.gatt.characteristics.base.BaseCharacteristic[NewAlertData]New Alert characteristic (0x2A46).
Represents the category, count, and brief text for a new alert.
Structure (variable length): - Category ID: uint8 (0=Simple Alert, 1=Email, etc.) - Number of New Alert: uint8 (0-255, count of new alerts) - Text String Information: utf8s (0-18 characters, optional brief text)
Used by Alert Notification Service (0x1811).