Function esp_idf_sys::esp_wifi_sta_get_rssi

source ยท
pub unsafe extern "C" fn esp_wifi_sta_get_rssi(
    rssi: *mut c_int,
) -> esp_err_t
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