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

Provides common definitions of the Alert Notification Server(ANS) and Alert Notification Client(ANC). More...

Macros

#define ANP_ALERT_NOTIFCATION_CONTROL_POINT_WRITE_CMD_NOT_SUPPORTED   0xA0
 

Alert category ID.

#define ANP_ALERT_CATEGORY_ID_SIMPLE_ALERT   0
 
#define ANP_ALERT_CATEGORY_ID_EMAIL   1
 
#define ANP_ALERT_CATEGORY_ID_NEWS   2
 
#define ANP_ALERT_CATEGORY_ID_CALL   3
 
#define ANP_ALERT_CATEGORY_ID_MISSED_CALL   4
 
#define ANP_ALERT_CATEGORY_ID_SMS_OR_MMS   5
 
#define ANP_ALERT_CATEGORY_ID_VOICE_MAIL   6
 
#define ANP_ALERT_CATEGORY_ID_SCHEDULE_ALERT   7
 
#define ANP_ALERT_CATEGORY_ID_HIGH_PRI_ALERT   8
 
#define ANP_ALERT_CATEGORY_ID_INSTANT_MESSAGE   9
 
#define ANP_NOTIFY_CATEGORY_COUNT   (ANP_ALERT_CATEGORY_ID_INSTANT_MESSAGE + 1)
 
#define ANP_ALERT_CATEGORY_ID_ALL_CONFIGURED
 
typedef uint8_t wiced_bt_anp_alert_category_id_t
 

The Alert category enable bit mask.

#define ANP_ALERT_CATEGORY_ENABLE_SIMPLE_ALERT   ( 1 << ANP_ALERT_CATEGORY_ID_SIMPLE_ALERT)
 
#define ANP_ALERT_CATEGORY_ENABLE_EMAIL   ( 1 << ANP_ALERT_CATEGORY_ID_EMAIL)
 
#define ANP_ALERT_CATEGORY_ENABLE_NEWS   ( 1 << ANP_ALERT_CATEGORY_ID_NEWS)
 
#define ANP_ALERT_CATEGORY_ENABLE_CALL   ( 1 << ANP_ALERT_CATEGORY_ID_CALL)
 
#define ANP_ALERT_CATEGORY_ENABLE_MISSED_CALL   ( 1 << ANP_ALERT_CATEGORY_ID_MISSED_CALL)
 
#define ANP_ALERT_CATEGORY_ENABLE_SMS_OR_MMS   ( 1 << ANP_ALERT_CATEGORY_ID_SMS_OR_MMS)
 
#define ANP_ALERT_CATEGORY_ENABLE_VOICE_MAIL   ( 1 << ANP_ALERT_CATEGORY_ID_VOICE_MAIL)
 
#define ANP_ALERT_CATEGORY_ENABLE_SCHEDULE_ALERT   ( 1 << ANP_ALERT_CATEGORY_ID_SCHEDULE_ALERT)
 
#define ANP_ALERT_CATEGORY_ENABLE_HIGH_PRI_ALERT   ( 1 << ANP_ALERT_CATEGORY_ID_HIGH_PRI_ALERT)
 
#define ANP_ALERT_CATEGORY_ENABLE_INSTANT_MESSAGE   ( 1 << ANP_ALERT_CATEGORY_ID_INSTANT_MESSAGE)
 
typedef uint16_t wiced_bt_anp_alert_category_enable_t
 

Alert control commands

#define ANP_ALERT_CONTROL_CMD_ENABLE_NEW_ALERTS   0
 
#define ANP_ALERT_CONTROL_CMD_ENABLE_UNREAD_STATUS   1
 
#define ANP_ALERT_CONTROL_CMD_DISABLE_NEW_ALERTS   2
 
#define ANP_ALERT_CONTROL_CMD_DISABLE_UNREAD_ALERTS   3
 
#define ANP_ALERT_CONTROL_CMD_NOTIFY_NEW_ALERTS_IMMEDIATE   4
 
#define ANP_ALERT_CONTROL_CMD_NOTIFY_UNREAD_ALERTS_IMMEDIATE   5
 
typedef uint8_t wiced_bt_anp_alert_control_cmd_id_t
 

Detailed Description

Provides common definitions of the Alert Notification Server(ANS) and Alert Notification Client(ANC).

Macro Definition Documentation

#define ANP_ALERT_CATEGORY_ID_ALL_CONFIGURED
Value:
0xff /* A special value used only by the Alert notification client in the notify immedietely control
point GATT write operation. This enables the client to receive missing alerts
quickly during a connection loss recovery. */