I use nrf51822 sdk130 (central device) and nrf51822 sdk110(peripheral device). I want to get rssi value of the peripheral device using the central device without connection. Is it possible to read rssi value of peripheral device without connection?
I use nrf51822 sdk130 (central device) and nrf51822 sdk110(peripheral device). I want to get rssi value of the peripheral device using the central device without connection. Is it possible to read rssi value of peripheral device without connection?
Sure, each scanning event (when you receive ADV_xxx packet) has RSSI value in the event data structure.
Well you must then have something wrong in the code because if you scan only no connection is established, you will be just getting BLE_GAP_EVT_ADV_REPORT events. You can parse event data to get RSSI value out of it. Once you like it just simply call connect function which you normally call in button press handler. Don't see a problem, sorry.
Well you must then have something wrong in the code because if you scan only no connection is established, you will be just getting BLE_GAP_EVT_ADV_REPORT events. You can parse event data to get RSSI value out of it. Once you like it just simply call connect function which you normally call in button press handler. Don't see a problem, sorry.