ANCS client module event structure. More...
#include <ble_ancs_c.h>
Data Fields |
|
| ble_ancs_c_evt_type_t | evt_type |
| uint16_t | conn_handle |
| ble_ancs_c_evt_notif_t | notif |
| ble_ancs_c_evt_notif_attr_t | attr |
| ble_ancs_c_service_t | service |
| uint32_t | error_code |
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_evt_notif_attr_t ble_ancs_c_evt_t::attr |
Currently received attribute for a given notification. Will be filled if the evt_type is BLE_ANCS_C_EVT_NOTIF_ATTRIBUTE .
| uint16_t ble_ancs_c_evt_t::conn_handle |
Connection handle on which the ANCS service was discovered on the peer device. This will be filled if the evt_type is BLE_ANCS_C_EVT_DISCOVERY_COMPLETE .
| 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. Will be filled if evt_type is BLE_ANCS_C_EVT_NOTIF .
| ble_ancs_c_service_t ble_ancs_c_evt_t::service |
Info on the discovered Alert Notification Service discovered. This will be filled if the evt_type is BLE_ANCS_C_EVT_DISCOVERY_COMPLETE .
- components/ble/ble_services/ble_ancs_c/ble_ancs_c.h