mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
100d2dd938
1. Store the information of AP(ssid, password, bssid, channel, etc) into nvs when station connects to AP successfully. If station connects to the same AP next time, it will scan the stored channel of the AP first. 2. Add a parameter of channel for scanning before connecting to AP. If it is set to 1~13, station will scan starting from the channel. If the channel of AP is unknown, set it to 0.