Page 1 of 1

unknown authmode=5 in WiFi scan results

Posted: Thu Sep 05, 2019 8:37 pm
by fj604
When I scan WiFi networks, one of them is returned with authmode = 5:

(b'Virgin Media', b'R\r\x10\xfc\xbdi', 6, -79, 5, 0)

This mode is not defined in the doc: https://docs.micropython.org/en/latest/ ... .WLAN.html
There are five values for authmode:

0 – open
1 – WEP
2 – WPA-PSK
3 – WPA2-PSK
4 – WPA/WPA2-PSK

Where did authmode 5 come from?

Re: unknown authmode=5 in WiFi scan results

Posted: Sat Sep 07, 2019 1:06 am
by jimmo
The values you listed (0-4) are from the ESP8266 SDK, there is no other usable constants defined. However, AUTH_MAX is set to 5, so I wonder if this is what they use as their "other" value. So perhaps it's a enterprise wifi / EAP / 802.1X?