Hello,
I have several questions regarding BLE beaconing and scanning that I feel are pretty basic but I can't seem to find the answer. I have a nRF52840 Dongle that uses the ble_app_beacon example code to send beacon frames. I am able to see it with the Android nRF Connect App.
Now, I would like to use another Dongle to scan for the beacon frames and get the RSSI of my particular beacon. I understand most of the code of the ble_app_uart can be used because it scans for advertisements with a filter, but I have few questions:
- How should I define
m_nus_uuid
so that the filter looks for the example beacon ? - What part of the code is executed after the advertisement is detected ? I cannot figure out which event is triggered. Should I add a BLE_GAP_EVT_ADV_REPORT case in
ble_evt_handler
?
I am using the SDK v15.2 with S140 v6.1.
Thanks !