HI all Nordic Developers,
Recently, I am using nRF51 DK as a beacon scanner connected to my laptop (Baudrate: 115200), it works fine to detect the beacon broadcast from my android phone. The result format is set to RSSI, UUID, and Location of Beacon. The result is observed using Termite.
However, when I broadcast beacon with ipad, sometimes the data is not printed nicely(i.e rssi value not shown) in serial monitor.
The following code is in p_ble_evt Bluetooth Stack event:
int Rssi=p_ble_evt->evt.gap_evt.params.adv_report.rssi;
printf("%d", Rssi);
printf(",");
for (int i = x+2; i < p_gap_evt->params.adv_report.dlen; i++){
printf("%02x ", p_gap_evt->params.adv_report.data[i]);
printf(",");
printf("A1-123\n");
What is the possible reason that this issue happens? If yes, any suggestion to fix it?