Function esp_idf_hal::sys::esp_wifi_sta_get_rssi

source ยท
pub unsafe extern "C" fn esp_wifi_sta_get_rssi(rssi: *mut i32) -> i32
Expand description

@brief Get the rssi info after station connected to AP

@attention This API should be called after station connected to AP.

@param rssi store the rssi info received from last beacon.

@return

  • ESP_OK: succeed
  • ESP_ERR_INVALID_ARG: invalid argument
  • ESP_FAIL: failed