Enumerations
Enumerations
BLE Services » Alert Notification Service Client (ANS_C)

## Enumerations
enum | ans_c_alert_cat_id_t { ANS_C_CAT_ID_SMPL_ALERT, ANS_C_CAT_ID_EMAIL, ANS_C_CAT_ID_NEWS, ANS_C_CAT_ID_CALL, ANS_C_CAT_ID_MISSED_CALL, ANS_C_CAT_ID_SMS_MMS, ANS_C_CAT_ID_VOICE_MAIL, ANS_C_CAT_ID_SCHEDULE, ANS_C_CAT_ID_HG_PRIO_ALERT, ANS_C_CAT_ID_INSTANT_MES, AANS_C_CAT_ID_NB, ANS_C_CAT_ID_ALL = 0xff }
| Alert Notification Service Categories of alerts/messages. More...
enum | ans_c_ctrl_pt_id_t { ANS_C_CTRL_PT_EN_NEW_INC_ALERT_NTF, ANS_C_CTRL_PT_EN_UNREAD_CAT_STA_NTF, ANS_C_CTRL_PT_DIS_NEW_INC_ALERT_NTF, ANS_C_CTRL_PT_DIS_UNREAD_CAT_STA_NTF, ANS_C_CTRL_PT_NTF_NEW_INC_ALERT_IMME, ANS_C_CTRL_PT_NTF_UNREAD_CAT_STA_IMME }
| Alert Notification Service Client Control point ID. More...
enum | ans_c_evt_type_t { ANS_C_EVT_INVALID, ANS_C_EVT_DISCOVERY_COMPLETE, ANS_C_EVT_DISCOVERY_FAIL, ANS_C_EVT_NEW_ALERT_NTF_SET_SUCCESS, ANS_C_EVT_UNREAD_ALERT_STA_NTF_SET_SUCCESS, ANS_C_EVT_SUP_NEW_ALERT_CAT_RECEIV, ANS_C_EVT_SUP_UNREAD_ALERT_CAT_REC, ANS_C_EVT_NEW_ALERT_RECEIVE, ANS_C_EVT_UNREAD_ALERT_RECEIVE, ANS_C_EVT_CTRL_POINT_SET_SUCCESS, ANS_C_EVT_WRITE_OP_ERR }
| Alert Notification Service Client Event type. More...

## Detailed Description

## Enumeration Type Documentation

## ◆ ans_c_alert_cat_id_t

enum ans_c_alert_cat_id_t

Alert Notification Service Categories of alerts/messages.

Enumerator
ANS_C_CAT_ID_SMPL_ALERT | Simple Alert: General text alert or non-text alert.
ANS_C_CAT_ID_EMAIL | Email: Alert when Email messages arrives.
ANS_C_CAT_ID_NEWS | News: News feeds such as RSS, Atom.
ANS_C_CAT_ID_CALL | Call: Incoming call.
ANS_C_CAT_ID_MISSED_CALL | Missed call: Missed Call.
ANS_C_CAT_ID_SMS_MMS | SMS/MMS: SMS/MMS message arrives.
ANS_C_CAT_ID_VOICE_MAIL | Voice mail: Voice mail.
ANS_C_CAT_ID_SCHEDULE | Schedule: Alert occurred on calendar, planner.
ANS_C_CAT_ID_HG_PRIO_ALERT | High Prioritized Alert: Alert that should be handled as high priority.
ANS_C_CAT_ID_INSTANT_MES | Instant Message: Alert for incoming instant messages.
AANS_C_CAT_ID_NB | Number of all Categories of alerts/messages.
ANS_C_CAT_ID_ALL | All Categories of alerts/messages.

Definition at line 100 of file ans_c.h.

## ◆ ans_c_ctrl_pt_id_t

enum ans_c_ctrl_pt_id_t

Alert Notification Service Client Control point ID.

Enumerator
ANS_C_CTRL_PT_EN_NEW_INC_ALERT_NTF | Enable New Incoming Alert Notification.
ANS_C_CTRL_PT_EN_UNREAD_CAT_STA_NTF | Enable Unread Category Status Notification.
ANS_C_CTRL_PT_DIS_NEW_INC_ALERT_NTF | Disable New Incoming Alert Notification.
ANS_C_CTRL_PT_DIS_UNREAD_CAT_STA_NTF | Disable Unread Category Status Notification.
ANS_C_CTRL_PT_NTF_NEW_INC_ALERT_IMME | Notify New Incoming Alert immediately.
ANS_C_CTRL_PT_NTF_UNREAD_CAT_STA_IMME | Notify Unread Category Status immediately.

Definition at line 117 of file ans_c.h.

## ◆ ans_c_evt_type_t

enum ans_c_evt_type_t

Alert Notification Service Client Event type.

Enumerator
ANS_C_EVT_INVALID | ANS Client invalid event type.
ANS_C_EVT_DISCOVERY_COMPLETE | ANS Client has found ANS service and its characteristics.
ANS_C_EVT_DISCOVERY_FAIL | ANS Client found ANS service failed because of invalid operation or no found at the peer.
ANS_C_EVT_NEW_ALERT_NTF_SET_SUCCESS | ANS Client has set NEW Alert notification.
ANS_C_EVT_UNREAD_ALERT_STA_NTF_SET_SUCCESS | ANS Client has set Unread Alert Status notification.
ANS_C_EVT_SUP_NEW_ALERT_CAT_RECEIV | ANS Client has received Supported New Alert Category value (Read from peer).
ANS_C_EVT_SUP_UNREAD_ALERT_CAT_REC | ANS Client has received Supported Unread Alert Category value (Read from peer).
ANS_C_EVT_NEW_ALERT_RECEIVE | ANS Client has received New Alert value (Notification from peer).
ANS_C_EVT_UNREAD_ALERT_RECEIVE | ANS Client has received Unread Alert Status value (Notification from peer).
ANS_C_EVT_CTRL_POINT_SET_SUCCESS | ANS Client has written Control Point completely.
ANS_C_EVT_WRITE_OP_ERR | Error occured when ANS Client wrote to peer.

Definition at line 128 of file ans_c.h.