This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to stop RSSI sample for BLE?

Hi all, I can use the API sd_ble_gap_rssi_start to start RSSI and can get the value when the BLE_GAP_EVT_RSSI_CHANGED event occurs.However,when I use the sd_ble_gap_rssi_stop to stop RSSI,the err_code always return NRF_ERROR_INVALID_STATE or other value,not NRF_SUCCESS.For the sd_ble_gap_rssi_stop(m_conn_handle),What is the value of m_conn_handle and how to get the value?No matter the value is 0x0003 or 0xFFFF,sd_ble_gap_rssi_stop cann't return NRF_SUCCESS.

Could anyone help me?Thanks.

Parents Reply Children
No Data
Related