Function esp_idf_hal::sys::esp_mesh_scan_get_ap_record

source ·
pub unsafe extern "C" fn esp_mesh_scan_get_ap_record(
    ap_record: *mut wifi_ap_record_t,
    buffer: *mut c_void,
) -> i32
Expand description

@brief Get AP record

@attention Different from esp_wifi_scan_get_ap_records(), this API only gets one of APs scanned each time. See “manual_networking” example.

@param[out] ap_record pointer to one AP record @param[out] buffer pointer to the mesh networking IE of this AP

@return

  • ESP_OK
  • ESP_ERR_WIFI_NOT_INIT
  • ESP_ERR_INVALID_ARG
  • ESP_ERR_WIFI_FAIL