![]() |
nRF5 SDK
v16.0.0
|
| Choose documentation: | nRF5 SDK | S112 SoftDevice API | S113 SoftDevice API | S132 SoftDevice API | S140 SoftDevice API | S212 SoftDevice API | S312 SoftDevice API | S332 SoftDevice API | S340 SoftDevice API |
Data Fields | |
| ble_ancs_c_attr_list_t * | p_attr_list |
| The current list of attributes that are being parsed. This will point to either ble_ancs_c_t::ancs_notif_attr_list or ble_ancs_c_t::ancs_app_attr_list. | |
| uint32_t | nb_of_attr |
| Number of possible attributes. When parsing begins, it is set to either BLE_ANCS_NB_OF_NOTIF_ATTR or BLE_ANCS_NB_OF_APP_ATTR. | |
| uint32_t | expected_number_of_attrs |
| The number of attributes expected upon receiving attributes. Keeps track of when to stop reading incoming attributes. | |
| ble_ancs_c_parse_state_t | parse_state |
| ANCS notification attribute parsing state. | |
| ble_ancs_c_cmd_id_val_t | command_id |
| Variable to keep track of what command type is being parsed ( BLE_ANCS_COMMAND_ID_GET_NOTIF_ATTRIBUTES or BLE_ANCS_COMMAND_ID_GET_APP_ATTRIBUTES). | |
| uint8_t * | p_data_dest |
| Attribute that the parsed data is copied into. | |
| uint16_t | current_attr_index |
| Variable to keep track of the parsing progress, for the given attribute. | |
| uint32_t | current_app_id_index |
| Variable to keep track of the parsing progress, for the given app identifier. | |