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

ANCS client module event structure. More...

#include <ble_ancs_c.h>

Data Fields

ble_ancs_c_evt_type_t evt_type
 
ble_uuid_t uuid
 
ble_ancs_c_evt_notif_t notif
 
ble_ancs_c_evt_notif_attr_t attr
 
uint32_t error_code
 
ble_ancs_c_attr_list_tancs_attr_list
 

Detailed Description

ANCS client module event structure.

The structure contains the event that should be handled by the main application.

Field Documentation

ble_ancs_c_attr_list_t* ble_ancs_c_evt_t::ancs_attr_list

List of attributes that will be requested if attributes are requested for a notification.

ble_ancs_c_evt_notif_attr_t ble_ancs_c_evt_t::attr

Currently received attribute for a given notification.

uint32_t ble_ancs_c_evt_t::error_code

Additional status or error code if the event was caused by a stack error or GATT status, for example, during service discovery.

ble_ancs_c_evt_type_t ble_ancs_c_evt_t::evt_type

Type of event.

ble_ancs_c_evt_notif_t ble_ancs_c_evt_t::notif

iOS notification.

ble_uuid_t ble_ancs_c_evt_t::uuid

UUID of the event if it is an iOS notification.