Merge branch 'test/wifi_connect_with_full_scan_in_examples_v4.0' into 'release/v4.0'

example: set example wifi scan method to all channel (v4.0)

See merge request espressif/esp-idf!13915
This commit is contained in:
Ivan Grokhotkov 2021-07-14 23:58:09 +00:00
commit c775e4e1b5

View File

@ -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);