|
PebbleOS v4.47.0-505-g4bbc630fa
|
The Apple Notification Center Service: its values and formats. More...
Data Structures | |
| struct | pbl_bt_ancs_notif |
| A notification of the device, as its Notification Source tells it. More... | |
| struct | pbl_bt_ancs_attr |
| An attribute, as the service sends it. More... | |
UUIDs | |
As their bytes in the order they go over the air: for | |
| #define | PBL_BT_ANCS_UUID_SERVICE 0xd0, 0x00, 0x2d, 0x12, 0x1e, 0x4b, 0x0f, 0xa4, 0x99, 0x4e, 0xce, 0xb5, 0x31, 0xf4, 0x05, 0x79 |
| The service: 7905F431-B5CE-4E99-A40F-4B1E122D00D0. | |
| #define | PBL_BT_ANCS_UUID_NOTIFICATION_SOURCE 0xbd, 0x1d, 0xa2, 0x99, 0xe6, 0x25, 0x58, 0x8c, 0xd9, 0x42, 0x01, 0x63, 0x0d, 0x12, 0xbf, 0x9f |
| Notification Source: 9FBF120D-6301-42D9-8C58-25E699A21DBD. | |
| #define | PBL_BT_ANCS_UUID_CONTROL_POINT 0xd9, 0xd9, 0xaa, 0xfd, 0xbd, 0x9b, 0x21, 0x98, 0xa8, 0x49, 0xe1, 0x45, 0xf3, 0xd8, 0xd1, 0x69 |
| Control Point: 69D1D8F3-45E1-49A8-9821-9BBDFDAAD9D9. | |
| #define | PBL_BT_ANCS_UUID_DATA_SOURCE 0xfb, 0x7b, 0x7c, 0xce, 0x6a, 0xb3, 0x44, 0xbe, 0xb5, 0x4b, 0xd6, 0x24, 0xe9, 0xc6, 0xea, 0x22 |
| Data Source: 22EAC6E9-24D6-4BB5-BE44-B36ACE7C7BFB. | |
Event flags | |
| #define | PBL_BT_ANCS_FLAG_SILENT PBL_BIT(0) |
| #define | PBL_BT_ANCS_FLAG_IMPORTANT PBL_BIT(1) |
| #define | PBL_BT_ANCS_FLAG_PRE_EXISTING PBL_BIT(2) |
| The notification was there before the client subscribed. | |
| #define | PBL_BT_ANCS_FLAG_POSITIVE_ACTION PBL_BIT(3) |
| #define | PBL_BT_ANCS_FLAG_NEGATIVE_ACTION PBL_BIT(4) |
| #define | PBL_BT_ANCS_FLAG_MULTIMEDIA PBL_BIT(5) |
| Not in the specification: iOS sets it when the notification has an attachment. | |
ATT error codes of the Control Point | |
| #define | PBL_BT_ANCS_ERR_UNKNOWN_COMMAND 0xA0 |
| #define | PBL_BT_ANCS_ERR_INVALID_COMMAND 0xA1 |
| #define | PBL_BT_ANCS_ERR_INVALID_PARAMETER 0xA2 |
| E.g. | |
| #define | PBL_BT_ANCS_ERR_ACTION_FAILED 0xA3 |
The Apple Notification Center Service: its values and formats.
| struct pbl_bt_ancs_notif |
A notification of the device, as its Notification Source tells it.
| struct pbl_bt_ancs_attr |
| #define PBL_BT_ANCS_ERR_ACTION_FAILED 0xA3 |
| #define PBL_BT_ANCS_ERR_INVALID_COMMAND 0xA1 |
| #define PBL_BT_ANCS_ERR_INVALID_PARAMETER 0xA2 |
E.g.
the notification does not exist (any more).
| #define PBL_BT_ANCS_ERR_UNKNOWN_COMMAND 0xA0 |
| #define PBL_BT_ANCS_FLAG_IMPORTANT PBL_BIT(1) |
| #define PBL_BT_ANCS_FLAG_MULTIMEDIA PBL_BIT(5) |
Not in the specification: iOS sets it when the notification has an attachment.
| #define PBL_BT_ANCS_FLAG_NEGATIVE_ACTION PBL_BIT(4) |
| #define PBL_BT_ANCS_FLAG_POSITIVE_ACTION PBL_BIT(3) |
| #define PBL_BT_ANCS_FLAG_PRE_EXISTING PBL_BIT(2) |
The notification was there before the client subscribed.
| #define PBL_BT_ANCS_FLAG_SILENT PBL_BIT(0) |
| #define PBL_BT_ANCS_UUID_CONTROL_POINT 0xd9, 0xd9, 0xaa, 0xfd, 0xbd, 0x9b, 0x21, 0x98, 0xa8, 0x49, 0xe1, 0x45, 0xf3, 0xd8, 0xd1, 0x69 |
Control Point: 69D1D8F3-45E1-49A8-9821-9BBDFDAAD9D9.
| #define PBL_BT_ANCS_UUID_DATA_SOURCE 0xfb, 0x7b, 0x7c, 0xce, 0x6a, 0xb3, 0x44, 0xbe, 0xb5, 0x4b, 0xd6, 0x24, 0xe9, 0xc6, 0xea, 0x22 |
Data Source: 22EAC6E9-24D6-4BB5-BE44-B36ACE7C7BFB.
| #define PBL_BT_ANCS_UUID_NOTIFICATION_SOURCE 0xbd, 0x1d, 0xa2, 0x99, 0xe6, 0x25, 0x58, 0x8c, 0xd9, 0x42, 0x01, 0x63, 0x0d, 0x12, 0xbf, 0x9f |
Notification Source: 9FBF120D-6301-42D9-8C58-25E699A21DBD.
| #define PBL_BT_ANCS_UUID_SERVICE 0xd0, 0x00, 0x2d, 0x12, 0x1e, 0x4b, 0x0f, 0xa4, 0x99, 0x4e, 0xce, 0xb5, 0x31, 0xf4, 0x05, 0x79 |
The service: 7905F431-B5CE-4E99-A40F-4B1E122D00D0.
| enum pbl_bt_ancs_action |
| enum pbl_bt_ancs_app_attr |
| enum pbl_bt_ancs_category |
Category of a notification.
| enum pbl_bt_ancs_event |
Attributes of a notification.