mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
example: set example wifi scan method to all channel:
in CI example test we could have runners with same SSID in the same lab. Use scan on all channel will let DUT connect to the AP with best RSSI.
This commit is contained in:
parent
ee8c27e5e3
commit
251ca7dd4e
@ -132,6 +132,7 @@ static void start()
|
||||
.sta = {
|
||||
.ssid = CONFIG_EXAMPLE_WIFI_SSID,
|
||||
.password = CONFIG_EXAMPLE_WIFI_PASSWORD,
|
||||
.scan_method = WIFI_ALL_CHANNEL_SCAN,
|
||||
},
|
||||
};
|
||||
ESP_LOGI(TAG, "Connecting to %s...", wifi_config.sta.ssid);
|
||||
|
Loading…
Reference in New Issue
Block a user