Hello,
I am using pca10028 and sdk 12.2. I want to scan the nearby ble devices and want to display the mac address using uart. So which code should I refer or which thread should I follow to do this?
Thanks, Shailav
Using UART It might not be possible I already tried with UART, it is slow with the scanning process.
If you want to display information you can use Segger RTT client in your code. from [ BLE_GAP_EVT_ADV_REPORT in on_ble_evt ] you can get the information you want.
Here, u will get the MAC address of the advertiser,
p_gap_evt->params.adv_report.peer_addr