BLE scan raw data (p_data) gives incomplete data.

I am trying to display the p_data received data using below inside NRF_BLE_SCAN_EVT_NOT_FOUND case but I am receiving the below data.

2|1|6|1a|ff|4c|0|2|15|ff|ff|0|0|ff|ff|0|0|ff|ff|0|0|ff|ff|0|0|ff|11|2|a5|bf|6a|0|2c|39|0|20|1f|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|

instead of receiving

2|1|6|1a|ff|4c|0|2|15|ff|ff|0|0|ff|ff|0|0|ff|ff|0|0|ff|ff|0|0|ff|11|2|a5|bf|2|a|4|a|16|0|ff|55|ff|11|2|a5|41|88|9|9|54|43|5a|30|30|31|37|36

Note: above payload, HEX data is separated by '|' symbol.

In the above payload data type Type: a and Type: 16 is not getting displayed on the received data. But on the contrary, note even though we can't see it on raw data but we can fetch the data by using ble_advdata_parse() function. why this is happening ? why so?

I have even tried to increase NRF_BLE_SCAN_BUFFER value but no luck

Thanks and regards,

Neeraj Dhekale

Related