nRF5 SDK v13.0.0
Data Fields
ble_ancs_c_evt_t Struct Reference

ANCS client module event structure. More...

#include <nrf_ble_ancs_c.h>

Data Fields

ble_ancs_c_evt_type_t evt_type
 Type of event.
 
uint16_t conn_handle
 Connection handle on which the ANCS service was discovered on the peer device. This field will be filled if the evt_type is BLE_ANCS_C_EVT_DISCOVERY_COMPLETE.
 
ble_ancs_c_evt_notif_t notif
 iOS notification. This field will be filled if evt_type is BLE_ANCS_C_EVT_NOTIF.
 
uint16_t err_code_np
 An error coming from the Notification Provider. This field will be filled with Notification Provider (iOS) Error Codes if evt_type is BLE_ANCS_C_EVT_NP_ERROR.
 
ble_ancs_c_attr_t attr
 iOS notification attribute or app attribute, depending on the event type.
 
uint32_t notif_uid
 Notification UID.
 
uint8_t app_id [32]
 App identifier.
 
ble_ancs_c_service_t service
 Information on the discovered Alert Notification Service. This field will be filled if the evt_type is BLE_ANCS_C_EVT_DISCOVERY_COMPLETE.
 

Detailed Description

ANCS client module event structure.

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


The documentation for this struct was generated from the following file:

Documentation feedback | Developer Zone | Subscribe | Updated