I am currently using s120 to create a central device to scan for my peripherals. In addition I am trying to parse the Advertising Report data and send it via UART.
p_ble_evt->evt.gap_evt.params.adv_report.data
However, the result currently looks like this.
The device name is there, but I am assuming that the rest of the advertisement data needs to be parse correctly , hence the "..........."
I have also tried using:
adv_report_parse(uint8_t type, data_t * p_advdata, data_t * p_typedata)
But I would like to know how to parse all of adv_report.data in order to transmit the data via UART.
Could someone share an example of how this is done?