Documentation WLAN.connect()
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.
Space in wifi name
If we have a space in the wifi name, the wlan.connect() wouldn't work.
For an example,
If we use wlan.connect('mywifi','mypassword') it will work but if the wifi name has a space as below:
wlan.connect('my wifi','mypassword'), it will fail.
Is there any workaround?