nRF51 SDK - S110 SoftDevice
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
ble_ancs_c_evt_t Struct Reference

Apple Notification Event structure. More...

#include <ble_ancs_c.h>

Data Fields

ble_ancs_c_evt_type_t evt_type
 
ble_uuid_t uuid
 
union {
   ble_ancs_c_evt_ios_notification_t   notification
 
   ble_ancs_c_evt_notif_attribute_t   attribute
 
   uint32_t   error_code
 
data
 

Detailed Description

Apple Notification Event structure.

The structure contains the event that should be handled, as well as additional information.

Field Documentation

uint32_t ble_ancs_c_evt_t::error_code

Additional status/error code if the event was caused by a stack error or gatt status, e.g. during service discovery.

ble_ancs_c_evt_type_t ble_ancs_c_evt_t::evt_type

Type of event.

ble_uuid_t ble_ancs_c_evt_t::uuid

UUID of the event in case of an apple or notification.