nRF51 SDK
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
ble_ans_c_evt_t Struct Reference

Data Fields

ble_ans_c_evt_type_t evt_type
 
ble_uuid_t uuid
 
union {
   ble_ans_alert_settings_t   settings
 
   ble_ans_alert_notification_t   alert
 
   uint32_t   error_code
 
data
 

Detailed Description

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

Field Documentation

Type of event.

ble_uuid_t uuid

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

Setting returned from server on read request.

Alert Notification data sent by the server.

uint32_t error_code

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