![]() |
nRF5 SDK
v12.3.0
|
| Choose documentation: | nRF5 SDK | S130 SoftDevice API | S132 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API |
Data Fields | |
| ble_ancs_c_attr_list_t * | p_attr_list |
| The current list of attributes being parsed. This field 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 we are currently parsing ( 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 will be copied into. | |
| uint16_t | current_attr_index |
| Variable to keep track of how much (for a given attribute) we are done parsing. | |
| uint32_t | current_app_id_index |
| Variable to keep track of how much (for a given app identifier) we are done parsing. | |