[][src]Function esp_idf_bindgen::esp_wifi_scan_start

pub unsafe extern "C" fn esp_wifi_scan_start(
    config: *const wifi_scan_config_t,
    block: bool
) -> esp_err_t

@brief Scan all available APs.

@attention If this API is called, the found APs are stored in WiFi driver dynamic allocated memory and the will be freed in esp_wifi_scan_get_ap_records, so generally, call esp_wifi_scan_get_ap_records to cause the memory to be freed once the scan is done @attention The values of maximum active scan time and passive scan time per channel are limited to 1500 milliseconds. Values above 1500ms may cause station to disconnect from AP and are not recommended.

@param config configuration of scanning @param block if block is true, this API will block the caller until the scan is done, otherwise it will return immediately

@return