nRF5 SDK v13.0.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.
 
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 whether they should 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 whether they should 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 will 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 (from data_source characteristic) correctly.
 
ble_ancs_c_evt_t evt
 The event is filled with several iterations of the ancs_parse_get_attrs_response function when requesting iOS notification attributes. So we must allocate memory for it here.
 

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