Enumerations
Enumerations
BLE Services » Alert Notification Service (ANS)
Collaboration diagram for Enumerations:

## Enumerations
enum | ans_alert_cat_id_t { ANS_CAT_ID_SMPL_ALERT, ANS_CAT_ID_EMAIL, ANS_CAT_ID_NEWS, ANS_CAT_ID_CALL, ANS_CAT_ID_MISSED_CALL, ANS_CAT_ID_SMS_MMS, ANS_CAT_ID_VOICE_MAIL, ANS_CAT_ID_SCHEDULE, ANS_CAT_ID_HG_PRIO_ALERT, ANS_CAT_ID_INSTANT_MES, ANS_CAT_ID_NB, ANS_CAT_ID_ALL = 0xff }
| Alert Notification Service Categories of alerts/messages. More...
enum | ans_ctrl_pt_id_t { ANS_CTRL_PT_EN_NEW_INC_ALERT_NTF, ANS_CTRL_PT_EN_UNREAD_CAT_STA_NTF, ANS_CTRL_PT_DIS_NEW_INC_ALERT_NTF, ANS_CTRL_PT_DIS_UNREAD_CAT_STA_NTF, ANS_CTRL_PT_NTF_NEW_INC_ALERT_IMME, ANS_CTRL_PT_NTF_UNREAD_CAT_STA_IMME }
| Alert Notification Service Control point. More...
enum | ans_evt_type_t { ANS_EVT_INVALID, ANS_EVT_NEW_ALERT_NTF_ENABLE, ANS_EVT_NEW_ALERT_NTF_DISABLE, ANS_EVT_UNREAD_ALERT_STA_NTF_ENABLE, ANS_EVT_UNREAD_ALERT_STA_NTF_DISABLE, ANS_EVT_NEW_ALERT_IMME_NTF_REQ, ANS_EVT_Unread_ALERT_IMME_NTF_REQ }
| Alert Notification Service Event type. More...

## Detailed Description

## Enumeration Type Documentation

## ◆ ans_alert_cat_id_t

enum ans_alert_cat_id_t

Alert Notification Service Categories of alerts/messages.

Enumerator
ANS_CAT_ID_SMPL_ALERT | Simple Alert: General text alert or non-text alert.
ANS_CAT_ID_EMAIL | Email: Alert when Email messages arrive.
ANS_CAT_ID_NEWS | News: News feeds such as RSS, Atom.
ANS_CAT_ID_CALL | Call: Incoming call.
ANS_CAT_ID_MISSED_CALL | Missed call: Missed Call.
ANS_CAT_ID_SMS_MMS | SMS/MMS: SMS/MMS message arrives.
ANS_CAT_ID_VOICE_MAIL | Voice mail: Voice mail.
ANS_CAT_ID_SCHEDULE | Schedule: Alert occurred on calendar, planner.
ANS_CAT_ID_HG_PRIO_ALERT | High Prioritized Alert: Alert that should be handled as high priority.
ANS_CAT_ID_INSTANT_MES | Instant Message: Alert for incoming instant messages.
ANS_CAT_ID_NB | Number of all Categories of alerts/messages.
ANS_CAT_ID_ALL | All Categories of alerts/messages.

Definition at line 103 of file ans.h.

## ◆ ans_ctrl_pt_id_t

enum ans_ctrl_pt_id_t

Alert Notification Service Control point.

Enumerator
ANS_CTRL_PT_EN_NEW_INC_ALERT_NTF | Enable New Incoming Alert Notification.
ANS_CTRL_PT_EN_UNREAD_CAT_STA_NTF | Enable Unread Category Status Notification.
ANS_CTRL_PT_DIS_NEW_INC_ALERT_NTF | Disable New Incoming Alert Notification.
ANS_CTRL_PT_DIS_UNREAD_CAT_STA_NTF | Disable Unread Category Status Notification.
ANS_CTRL_PT_NTF_NEW_INC_ALERT_IMME | Notify New Incoming Alert immediately.
ANS_CTRL_PT_NTF_UNREAD_CAT_STA_IMME | Notify Unread Category Status immediately.

Definition at line 120 of file ans.h.

## ◆ ans_evt_type_t

enum ans_evt_type_t

Alert Notification Service Event type.

Enumerator
ANS_EVT_INVALID | Invalid ANS event type.
ANS_EVT_NEW_ALERT_NTF_ENABLE | NEW Alert notification is enabled.
ANS_EVT_NEW_ALERT_NTF_DISABLE | NEW Alert notification is disabled.
ANS_EVT_UNREAD_ALERT_STA_NTF_ENABLE | Unread Alert Status notification is enabled.
ANS_EVT_UNREAD_ALERT_STA_NTF_DISABLE | Unread Alert Status notification is disabled.
ANS_EVT_NEW_ALERT_IMME_NTF_REQ | Request: notify the New Alert characteristic to the client immediately.
ANS_EVT_Unread_ALERT_IMME_NTF_REQ | Request: notify the Unread Alert Status characteristic to the client immediately.

Definition at line 131 of file ans.h.