-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Closed
Description
When trying to connect to an open network (auth type 0), the following reply is returned:
wlan.connect('device')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OSError: [Errno 1] EPERM
Using an empty string as password gives the same result:
wlan.connect('device', '')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OSError: [Errno 1] EPERM
For completeness, this is how the 'device' network reports itself in a scan:
wlan.scan()
[.... (b'device', b'\x00,\xc8\x87\r@', 11, -77, 0, 1),
(b'eduroam', b'\x00,\xc8\x87\x0ba', 11, -84, 5, 2),
(b'device', b'\x00,\xc8\x87\x0b`', 11, -86, 0, 1),
...]
The device is verified to work on a normal WPA network, where it connects with no problems.