src.bluetooth_sig.types.alert¶
Alert Notification types and enumerations.
Provides common types used across Alert Notification Service characteristics. Based on Bluetooth SIG GATT Specification for Alert Notification Service (0x1811).
Attributes¶
Classes¶
Name | Description |
|---|---|
Alert category bit mask flags. |
|
Alert category enumeration per Bluetooth SIG specification. |
|
Alert Notification Control Point command enumeration. |
Module Contents¶
- class src.bluetooth_sig.types.alert.AlertCategoryBitMask¶
Bases:
enum.IntFlagAlert category bit mask flags.
Each bit represents support for a specific alert category. Bits 10-15 are reserved for future use.
- CALL = 8¶
- EMAIL = 2¶
- HIGH_PRIORITIZED_ALERT = 256¶
- INSTANT_MESSAGE = 512¶
- MISSED_CALL = 16¶
- NEWS = 4¶
- SCHEDULE = 128¶
- SIMPLE_ALERT = 1¶
- SMS_MMS = 32¶
- VOICE_MAIL = 64¶
- class src.bluetooth_sig.types.alert.AlertCategoryID¶
Bases:
enum.IntEnumAlert category enumeration per Bluetooth SIG specification.
Values 0-9 are defined, 10-250 reserved, 251-255 service-specific.
- CALL = 3¶
- EMAIL = 1¶
- HIGH_PRIORITIZED_ALERT = 8¶
- INSTANT_MESSAGE = 9¶
- MISSED_CALL = 4¶
- NEWS = 2¶
- SCHEDULE = 7¶
- SERVICE_SPECIFIC_1 = 251¶
- SERVICE_SPECIFIC_2 = 252¶
- SERVICE_SPECIFIC_3 = 253¶
- SERVICE_SPECIFIC_4 = 254¶
- SERVICE_SPECIFIC_5 = 255¶
- SIMPLE_ALERT = 0¶
- SMS_MMS = 5¶
- VOICE_MAIL = 6¶
- class src.bluetooth_sig.types.alert.AlertNotificationCommandID¶
Bases:
enum.IntEnumAlert Notification Control Point command enumeration.
- DISABLE_NEW_ALERT = 2¶
- DISABLE_UNREAD_STATUS = 3¶
- ENABLE_NEW_ALERT = 0¶
- ENABLE_UNREAD_STATUS = 1¶
- NOTIFY_NEW_ALERT_IMMEDIATELY = 4¶
- NOTIFY_UNREAD_STATUS_IMMEDIATELY = 5¶
- src.bluetooth_sig.types.alert.ALERT_CATEGORY_DEFINED_MAX = 9¶
- src.bluetooth_sig.types.alert.ALERT_CATEGORY_RESERVED_MAX = 250¶
- src.bluetooth_sig.types.alert.ALERT_CATEGORY_RESERVED_MIN = 10¶
- src.bluetooth_sig.types.alert.ALERT_CATEGORY_SERVICE_SPECIFIC_MIN = 251¶
- src.bluetooth_sig.types.alert.ALERT_COMMAND_MAX = 5¶
- src.bluetooth_sig.types.alert.ALERT_TEXT_MAX_LENGTH = 18¶
- src.bluetooth_sig.types.alert.UNREAD_COUNT_MAX = 254¶
- src.bluetooth_sig.types.alert.UNREAD_COUNT_MORE_THAN_MAX = 255¶