← index #11433PR #7611
Related · high · value 0.112
QUERY · ISSUE

ESP32 WLAN.scan() returns incorrect hidden flag

openby zcattaczopened 2023-05-06updated 2023-05-06
bug

Hi, new comer to micropython on ESP boards here. Just start to use this and realized the hidden flag in WLAN.scan() result is incorrect.

  • The documentation mentioned this flag as (ssid, bssid, channel, RSSI, authmode, hidden) , 0 - visible, 1 - hidden; but it's a bool not int.
  • In my test, all APs in results are always with hidden = False, though apparently the SSID returned is b'' and in wavmon these are reported as <Hidden SSID> (I mean confirmed as hidden not AP with empty SSID)

uos.uname() = (sysname='esp32', nodename='esp32', release='1.19.1', version='v1.19.1 on 2022-06-18', machine='ESP32 module with ESP32')

CANDIDATE · PULL REQUEST

esp8266,esp32: Include hidden networks in WLAN.scan results.

mergedby dpgeorgeopened 2021-08-03updated 2021-08-07
port-esp8266port-esp32

Addresses issues #2697 and #5329. In particular see discussion towards the end of #5329 about including hidden networks by default.

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied