Infineon Logo AIROC BTSDK v4.9 - Documentation
 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
wiced_bt_ans.h File Reference

Provides definitions of the Alert Notification Server (ANS) library interface. More...

Data Structures

struct  wiced_bt_ans_gatt_alert_handles_t
 List of Handles of an Alert. More...
 
struct  wiced_bt_ans_gatt_handles_t
 List of Handles of the Alert Service. More...
 

Functions

wiced_result_t wiced_bt_ans_init (wiced_bt_ans_gatt_handles_t *p_gatt_handles)
 The application calls this API on an application start to initialize the AIROC BTSDK ANS server library. More...
 
void wiced_bt_ans_connection_up (uint16_t conn_id)
 The application calls this API when the application is connected with the alert notification client. More...
 
void wiced_bt_ans_connection_down (uint16_t conn_id)
 The application calls this API when the application is disconnected from the client. More...
 
void wiced_bt_ans_set_supported_new_alert_categories (uint16_t conn_id, wiced_bt_anp_alert_category_enable_t supported_new_alert_cat)
 The application calls this API to set Server supported new alert categories. More...
 
void wiced_bt_ans_set_supported_unread_alert_categories (uint16_t conn_id, wiced_bt_anp_alert_category_enable_t supported_unread_alert_cat)
 The application calls this API to set Server supported unread alert categories. More...
 
wiced_bt_gatt_status_t wiced_bt_ans_process_gatt_read_req (uint16_t conn_id, wiced_bt_gatt_read_t *p_read)
 The application calls this API to process alert notification client GATT read requests. More...
 
wiced_bt_gatt_status_t wiced_bt_ans_process_gatt_write_req (uint16_t conn_id, wiced_bt_gatt_write_t *p_write)
 The application calls this API to process alert notification client GATT write requests. More...
 
wiced_bt_gatt_status_t wiced_bt_ans_process_and_send_new_alert (uint16_t conn_id, wiced_bt_anp_alert_category_id_t category_id)
 The application calls this API to process and send a new alert.on given alert category ID. More...
 
wiced_bt_gatt_status_t wiced_bt_ans_process_and_send_unread_alert (uint16_t conn_id, wiced_bt_anp_alert_category_id_t category_id)
 The application calls this API to process and send the unread alert.on given alert category ID. More...
 
wiced_bool_t wiced_bt_ans_clear_alerts (uint16_t conn_id, wiced_bt_anp_alert_category_id_t category_id)
 The application calls this API to clear the new alert and unread alert count.of the specified category. More...
 

Detailed Description

Provides definitions of the Alert Notification Server (ANS) library interface.