ble_ancs_c_evt_t

nRF5 SDK v17.1.0

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 is filled if the evt_type is BLE_ANCS_C_EVT_DISCOVERY_COMPLETE .
ble_ancs_c_evt_notif_t notif
iOS notification. This is filled if evt_type is BLE_ANCS_C_EVT_NOTIF .
uint16_t err_code_np
An error coming from the Notification Provider. This is 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 is 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 is to be handled by the main application.

  • components/ble/ble_services/ble_ancs_c/nrf_ble_ancs_c.h