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.
It automatically connects to the peripheral device when it enters the on_ble_evt function. But I do not want that. I want to read rssi value without entering the peripheral device.Normally, when I press the button, it enters "button_handler" function. Then it use "sd_ble_gap_scan_start(&m_scan_params);" function. After that ,Function for handling the Application's BLE Stack events start automatically(on_ble_evt). Finally connection establihes. But I just want to learn rssi value of peripheral device,nothing else. Can you write some method or function to do that?
It automatically connects to the peripheral device when it enters the on_ble_evt function. But I do not want that. I want to read rssi value without entering the peripheral device.Normally, when I press the button, it enters "button_handler" function. Then it use "sd_ble_gap_scan_start(&m_scan_params);" function. After that ,Function for handling the Application's BLE Stack events start automatically(on_ble_evt). Finally connection establihes. But I just want to learn rssi value of peripheral device,nothing else. Can you write some method or function to do that?