unknown authmode=5 in WiFi scan results

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
Posts: 2
Joined: Thu Sep 05, 2019 12:54 pm

unknown authmode=5 in WiFi scan results

Post by fj604 » Thu Sep 05, 2019 8:37 pm

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
3 – WPA2-PSK

Where did authmode 5 come from?

User avatar
Posts: 1394
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia

Re: unknown authmode=5 in WiFi scan results

Post by jimmo » Sat Sep 07, 2019 1:06 am

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?

Post Reply