Function esp_idf_sys::ble_gap_conn_rssi
source · pub unsafe extern "C" fn ble_gap_conn_rssi(
conn_handle: u16,
out_rssi: *mut i8,
) -> c_int
Expand description
Retrieves the most-recently measured RSSI for the specified connection. A connection’s RSSI is updated whenever a data channel PDU is received.
@param conn_handle Specifies the connection to query. @param out_rssi On success, the retrieved RSSI is written here.
@return 0 on success; A BLE host HCI return code if the controller rejected the request; A BLE host core return code on unexpected error.