Function esp_idf_svc::hal::sys::esp_ble_gap_read_rssi
source ยท pub unsafe extern "C" fn esp_ble_gap_read_rssi(
remote_addr: *mut u8,
) -> i32
Expand description
@brief This function is called to read the RSSI of remote device. The address of link policy results are returned in the gap callback function with ESP_GAP_BLE_READ_RSSI_COMPLETE_EVT event.
@param[in] remote_addr : The remote connection device address.
@return - ESP_OK : success - other : failed