Hi all, I am using s110 v7 for scanning and advertising, it works well. Now, I would like to measure RSSI while scanning (already scanned device but not connected) . Can I do this and how can I do. Many thanks, Phat
The sd_ble_gap_rssi_start() is only available when you have a BLE connection established and since you only do the beacon scan it will never be connected and you will never get the rssi event. But the scanning is done with the timeslot API for the softdevice. So in the app_beacon_scanner_start() you can add the code for checking the RSSI manually from the RSSISAMPLE register directly.
EDIT UPDATE: Added sample code that samples the RSSI value after address match during the scanning. Used Softdevice 7.0.0 and SDK 6.0.0. ble_app_multiactivity_beacon-rssi_while_scanning.zip