nRF5 SDK v17.1.0
Data Fields
ble_ancs_c_t Struct Reference

iOS notification structure, which contains various status information for the client. More...

#include <nrf_ble_ancs_c.h>

Data Fields

ble_ancs_c_evt_handler_t evt_handler
 Event handler to be called for handling events in the Apple Notification client application.
 
ble_srv_error_handler_t error_handler
 Function to be called in case of an error.
 
nrf_ble_gq_req_error_cb_t gatt_err_handler
 Error handler to be called in case of an error from SoftDevice.
 
uint16_t conn_handle
 Handle of the current connection. Set with nrf_ble_ancs_c_handles_assign when connected.
 
ble_ancs_c_service_t service
 Structure to store the different handles and UUIDs related to the service.
 
ble_ancs_c_attr_list_t ancs_notif_attr_list [8]
 For all attributes: contains information about whether the attributes are to be requested upon attribute request, and the length and buffer of where to store attribute data.
 
ble_ancs_c_attr_list_t ancs_app_attr_list [1]
 For all app attributes: contains information about whether the attributes are to be requested upon attribute request, and the length and buffer of where to store attribute data.
 
uint32_t number_of_requested_attr
 The number of attributes that are to be requested when an iOS notification attribute request is made.
 
ble_ancs_parse_sm_t parse_info
 Structure containing different information used to parse incoming attributes correctly (from data_source characteristic).
 
ble_ancs_c_evt_t evt
 Allocate memory for the event here. The event is filled with several iterations of the ancs_parse_get_attrs_response function when requesting iOS notification attributes.
 
nrf_ble_gq_tp_gatt_queue
 Pointer to the BLE GATT Queue instance.
 

Detailed Description

iOS notification structure, which contains various status information for the client.


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

Documentation feedback | Developer Zone | Subscribe | Updated