Hi everyone : I have some questions about nrf51822 ble S110 ,I have two ble device ,both device used S110,is it possible use the first device to scan the second device to get the RSSI value?
If you start scanning by calling sd_ble_gap_scan_start
(link) you will get a BLE_GAP_ADV_REPORT
event upon receiving an advertisement packet. This event contains RSSI information.
This event also contains the devices address, which you can use to select only RSSI values from the correct device.
Note that the other device needs to be advertising for this to work.
If you start scanning by calling sd_ble_gap_scan_start
(link) you will get a BLE_GAP_ADV_REPORT
event upon receiving an advertisement packet. This event contains RSSI information.
This event also contains the devices address, which you can use to select only RSSI values from the correct device.
Note that the other device needs to be advertising for this to work.