QUERY · ISSUE
Documentation WLAN.connect()
docs
In https://docs.micropython.org/en/latest/wipy/tutorial/wlan.html, the connect() method reads
wlan.connect(net.ssid, auth=(net.sec, 'mywifikey'), timeout=5000)
In contrary, https://docs.micropython.org/en/latest/library/network.WLAN.html?highlight=wlan#network.WLAN.connect describes the connect() call as
WLAN.connect(ssid=None, password=None, *, bssid=None)
Which one is the correct/current one (and for which port ?) ?
This is quite confusing for new users, I think.
CANDIDATE · PULL REQUEST
docs/esp32/quickref: Note about automatic WLAN reconnect.
docsport-esp32
According to issue #5326, the ESP32 will attempt to connect() to an access point forever.
This was merged in b80bccc and had been undocumented since then (mid 2019).