+ Collaboration diagram for Enumerations:

Enumerations

enum  ble_ancs_c_evt_type_t {
  BLE_ANCS_C_EVT_INVALID, BLE_ANCS_C_EVT_DISCOVERY_CPLT, BLE_ANCS_C_EVT_DISCOVERY_FAILED, BLE_ANCS_C_EVT_NTF_SOURCE_NTF_ENABLED,
  BLE_ANCS_C_EVT_DATA_SOURCE_NTF_ENABLED, BLE_ANCS_C_EVT_NTF_SOURCE_RECEIVE, BLE_ANCS_C_EVT_DATA_SOURCE_RECEIVE, BLE_ANCS_C_EVT_WRITE_OP_ERR
}
 Event types that are passed from client to application on an event. More...
 
enum  ancs_notification_attr_t {
  ANCS_NOTIF_ATTR_ID_APP_IDENTIFIER = 0, ANCS_NOTIF_ATTR_ID_TITLE, ANCS_NOTIF_ATTR_ID_SUBTITLE, ANCS_NOTIF_ATTR_ID_MESSAGE,
  ANCS_NOTIF_ATTR_ID_MESSAGE_SIZE, ANCS_NOTIF_ATTR_ID_DATE, ANCS_NOTIF_ATTR_ID_POSITIVE_ACTION_LABEL, ANCS_NOTIF_ATTR_ID_NEGATIVE_ACTION_LABEL
}
 IDs for iOS notification attributes. More...
 
enum  ancs_category_id_t {
  ANCS_CATEGORY_ID_OTHER, ANCS_CATEGORY_ID_INCOMING_CALL, ANCS_CATEGORY_ID_MISSED_CALL, ANCS_CATEGORY_ID_VOICE_MAIL,
  ANCS_CATEGORY_ID_SOCIAL, ANCS_CATEGORY_ID_SCHEDULE, ANCS_CATEGORY_ID_EMAIL, ANCS_CATEGORY_ID_NEWS,
  ANCS_CATEGORY_ID_HEALTH_AND_FITNESS, ANCS_CATEGORY_ID_BUSINESS_AND_FINANCE, ANCS_CATEGORY_ID_LOCATION, ANCS_CATEGORY_ID_ENTERTAINMENT
}
 Category IDs for iOS notifications. More...
 
enum  ancs_evt_id_t { ANCS_EVENT_ID_NOTIFICATION_ADDED, ANCS_EVENT_ID_NOTIFICATION_MODIFIED, ANCS_EVENT_ID_NOTIFICATION_REMOVED }
 Event IDs for iOS notifications. More...
 
enum  ancs_c_action_id_t { ACTION_ID_POSITIVE = 0, ACTION_ID_NEGATIVE }
 ID for actions that can be performed for iOS notifications. More...
 
enum  ancs_c_ctrl_point_t { CTRL_POINT_GET_NTF_ATTRIBUTE = 0, CTRL_POINT_GET_APP_ATTRIBUTE, CTRL_POINT_PERFORM_NTF_ACTION }
 ctrl point command that can be performed for iOS notifications. More...
 

Detailed Description

Enumeration Type Documentation

◆ ancs_c_action_id_t

ID for actions that can be performed for iOS notifications.

Enumerator
ACTION_ID_POSITIVE 

Positive action.

ACTION_ID_NEGATIVE 

Negative action.

Definition at line 98 of file ancs_protocol.h.

◆ ancs_c_ctrl_point_t

ctrl point command that can be performed for iOS notifications.

Enumerator
CTRL_POINT_GET_NTF_ATTRIBUTE 

Request attributes to be sent from the NP to the NC for a given notification.

CTRL_POINT_GET_APP_ATTRIBUTE 

Request attributes to be sent from the NP to the NC for a given iOS app.

CTRL_POINT_PERFORM_NTF_ACTION 

Request an action to be performed on a given notification, for example, dismiss an alarm.

Definition at line 105 of file ancs_protocol.h.

◆ ancs_category_id_t

Category IDs for iOS notifications.

Enumerator
ANCS_CATEGORY_ID_OTHER 

The iOS notification belongs to the "other" category.


ANCS_CATEGORY_ID_INCOMING_CALL 

The iOS notification belongs to the "Incoming Call" category.

ANCS_CATEGORY_ID_MISSED_CALL 

The iOS notification belongs to the "Missed Call" category.

ANCS_CATEGORY_ID_VOICE_MAIL 

The iOS notification belongs to the "Voice Mail" category.

ANCS_CATEGORY_ID_SOCIAL 

The iOS notification belongs to the "Social" category.

ANCS_CATEGORY_ID_SCHEDULE 

The iOS notification belongs to the "Schedule" category.

ANCS_CATEGORY_ID_EMAIL 

The iOS notification belongs to the "E-mail" category.

ANCS_CATEGORY_ID_NEWS 

The iOS notification belongs to the "News" category.

ANCS_CATEGORY_ID_HEALTH_AND_FITNESS 

The iOS notification belongs to the "Health and Fitness" category.

ANCS_CATEGORY_ID_BUSINESS_AND_FINANCE 

The iOS notification belongs to the "Buisness and Finance" category.

ANCS_CATEGORY_ID_LOCATION 

The iOS notification belongs to the "Location" category.

ANCS_CATEGORY_ID_ENTERTAINMENT 

The iOS notification belongs to the "Entertainment" category.

Definition at line 73 of file ancs_protocol.h.

◆ ancs_evt_id_t

Event IDs for iOS notifications.

Enumerator
ANCS_EVENT_ID_NOTIFICATION_ADDED 

The iOS notification was added.

ANCS_EVENT_ID_NOTIFICATION_MODIFIED 

The iOS notification was modified.

ANCS_EVENT_ID_NOTIFICATION_REMOVED 

The iOS notification was removed.

Definition at line 90 of file ancs_protocol.h.

◆ ancs_notification_attr_t

IDs for iOS notification attributes.

Enumerator
ANCS_NOTIF_ATTR_ID_APP_IDENTIFIER 

Identify that the attribute data is of an "App Identifier" type.

ANCS_NOTIF_ATTR_ID_TITLE 

Identify that the attribute data is a "Title".

ANCS_NOTIF_ATTR_ID_SUBTITLE 

Identify that the attribute data is a "Subtitle".

ANCS_NOTIF_ATTR_ID_MESSAGE 

Identify that the attribute data is a "Message".

ANCS_NOTIF_ATTR_ID_MESSAGE_SIZE 

Identify that the attribute data is a "Message Size".

ANCS_NOTIF_ATTR_ID_DATE 

Identify that the attribute data is a "Date".

ANCS_NOTIF_ATTR_ID_POSITIVE_ACTION_LABEL 

The notification has a "Positive action" that can be executed associated with it.

ANCS_NOTIF_ATTR_ID_NEGATIVE_ACTION_LABEL 

The notification has a "Negative action" that can be executed associated with it.

Definition at line 60 of file ancs_protocol.h.

◆ ble_ancs_c_evt_type_t

Event types that are passed from client to application on an event.

Enumerator
BLE_ANCS_C_EVT_INVALID 

ANCS Client invalid event type.

BLE_ANCS_C_EVT_DISCOVERY_CPLT 

ANCS Client has found ANCS service and its characteristics.

BLE_ANCS_C_EVT_DISCOVERY_FAILED 

ANCS Client found ANCS service failed because of invalid operation or no found at the peer.

BLE_ANCS_C_EVT_NTF_SOURCE_NTF_ENABLED 

ANCS Client has enable notification for notification source.

BLE_ANCS_C_EVT_DATA_SOURCE_NTF_ENABLED 

ANCS Client has enable notification for data source.

BLE_ANCS_C_EVT_NTF_SOURCE_RECEIVE 

ANCS Client has receive notification from notification source.

BLE_ANCS_C_EVT_DATA_SOURCE_RECEIVE 

ANCS Client has receive notification from data source.

BLE_ANCS_C_EVT_WRITE_OP_ERR 

Definition at line 98 of file ancs_c.h.