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
It is not possible to scan for devices with the S110, so I assume you want to be able to read the RSSI level from the central device during scan requests? May I ask you to update the case and be a little bit more specific to what you want to do and which device's RSSI value you want to read.
Hi, Can scan device with S110 v7 SDK v6. Use this sample source code nrf51822\Board\nrf6310\s110\experimental. I need to measure RSSI when scanned device (just scanned, not connect). I used sd_ble_gap_rssi_start() , but it never reach to BLE_GAP_EVT_RSSI_CHANGED event. Thanks,
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
When do you run the TASK_RSSISTART? Are you in the assigned time slot and are you sure the radio is in receive mode before you run the TASK_RSSISTART? What does the markings on the chip that you are using say? Is it a nRF51822 AACx version? This has a known issue where the RSSISAMPLE register is cleared when you run the RSSISTOP task. nRF51822 PAN item #19