|
PebbleOS v4.47.0-757-g12b6c531f
|
The session with the Apple Notification Center Service of the phone: it queues the notifications the ANCS client reports, gets their attributes and hands them to the notification services. More...
#include <stdint.h>Functions | |
| void | ancs_create (uint16_t conn_handle) |
| Starts a session on the connection of the phone: looks for the service, and subscribes to it when the phone has it. | |
| void | ancs_destroy (void) |
| Ends the session. | |
| void | ancs_handle_services_changed (void) |
| The services of the phone changed: looks for the service again. | |
| void | ancs_perform_action (uint32_t notification_uid, uint8_t action_id) |
| Performs an action on a notification, an enum pbl_bt_ancs_action. Any task. | |
The session with the Apple Notification Center Service of the phone: it queues the notifications the ANCS client reports, gets their attributes and hands them to the notification services.
KernelMain only.
| enum ANCSClientState |
| void ancs_create | ( | uint16_t | conn_handle | ) |
Starts a session on the connection of the phone: looks for the service, and subscribes to it when the phone has it.
| void ancs_destroy | ( | void | ) |
Ends the session.
| void ancs_handle_services_changed | ( | void | ) |
The services of the phone changed: looks for the service again.
| void ancs_perform_action | ( | uint32_t | notification_uid, |
| uint8_t | action_id | ||
| ) |
Performs an action on a notification, an enum pbl_bt_ancs_action. Any task.