This file provides definitions of the Alert Notification Client (ANC) library interface.
More...
|
wiced_result_t | wiced_bt_anc_init (wiced_bt_anc_callback_t *p_callback) |
| The application calls this API on an application start to initialize the AIROC BTSDK ANS server library. More...
|
|
wiced_bt_gatt_status_t | wiced_bt_anc_discover (uint16_t conn_id, uint16_t start_handle, uint16_t end_handle) |
| The application calls this API to Performs ANC characteristics discovery and characteristic descriptor discovery. More...
|
|
void | wiced_bt_anc_discovery_result (wiced_bt_gatt_discovery_result_t *p_data) |
| The application calls this API during GATT discovery to pass discovery results for the ANC service to the ANC Library. More...
|
|
void | wiced_bt_anc_client_discovery_complete (wiced_bt_gatt_discovery_complete_t *p_data) |
| The application calls this API during GATT discovery to pass discovery complete information for the ANC service to the ANC Library. More...
|
|
wiced_bt_gatt_status_t | wiced_bt_anc_read_server_supported_new_alerts (uint16_t conn_id) |
| Once GATT discovery is complete, the Application calls this API to read the supported new alerts. More...
|
|
wiced_bt_gatt_status_t | wiced_bt_anc_read_server_supported_unread_alerts (uint16_t conn_id) |
| Once GATT discovery is complete, the Application call to Read the Value of Supported Unread Alert Categories. More...
|
|
wiced_bt_gatt_status_t | wiced_bt_anc_control_required_alerts (uint16_t conn_id, wiced_bt_anp_alert_control_cmd_id_t cmd_id, wiced_bt_anp_alert_category_id_t category) |
| The application use this API to control notifications using Alert notification control point characteristic. More...
|
|
wiced_bt_gatt_status_t | wiced_bt_anc_enable_new_alerts (uint16_t conn_id) |
| The application use this API to write client characteristic configuration descriptor (to start receiving new alerts). More...
|
|
wiced_bt_gatt_status_t | wiced_bt_anc_disable_new_alerts (uint16_t conn_id) |
| The application use this API to write client characteristic configuration descriptor (to stop receiving new alerts). More...
|
|
wiced_bt_gatt_status_t | wiced_bt_anc_enable_unread_alerts (uint16_t conn_id) |
| The application use this API to write client characteristic configuration descriptor (to start receiving new unread alerts). More...
|
|
wiced_bt_gatt_status_t | wiced_bt_anc_disable_unread_alerts (uint16_t conn_id) |
| The application use this API to write client characteristic configuration descriptor (to stop receiving new unread alerts). More...
|
|
wiced_bt_gatt_status_t | wiced_bt_anc_recover_new_alerts_from_conn_loss (uint16_t conn_id, wiced_bt_anp_alert_control_cmd_id_t cmd_id, wiced_bt_anp_alert_category_id_t category) |
| The application use this API to enable new alerts and control alerts. More...
|
|
wiced_bt_gatt_status_t | wiced_bt_anc_recover_new_unread_alerts_from_conn_loss (uint16_t conn_id, wiced_bt_anp_alert_control_cmd_id_t cmd_id, wiced_bt_anp_alert_category_id_t category) |
| The application use this API to enable unread alerts and control alerts. More...
|
|
void | wiced_bt_anc_write_rsp (wiced_bt_gatt_operation_complete_t *p_data) |
| The application should call this function when it receives GATT Write Response for the attribute handle which belongs to the ANC service. More...
|
|
void | wiced_bt_anc_read_rsp (wiced_bt_gatt_operation_complete_t *p_data) |
| The application should call this function when it receives GATT Read Response for the attribute handle which belongs to the ANC service. More...
|
|
void | wiced_bt_anc_client_connection_up (wiced_bt_gatt_connection_status_t *p_conn_status) |
| The application should call this function when LE connection with a peer device has been established. More...
|
|
void | wiced_bt_anc_client_connection_down (wiced_bt_gatt_connection_status_t *p_conn_status) |
| The application should call this function when LE connection with a peer device has been disconnected. More...
|
|
void | wiced_bt_anc_client_process_notification (wiced_bt_gatt_operation_complete_t *p_data) |
| This function processes the ANC process Notification. More...
|
|
This file provides definitions of the Alert Notification Client (ANC) library interface.