WLAN config parameter 'hidden' unknown
Port, board and/or hardware
Raspberry Pico W
MicroPython version
MicroPython v1.25.0 on 2025-04-15; Raspberry Pi Pico W with RP2040
Reproduction
- Try to set parameter 'hidden' via WLAN.config()
- Parameter unknown error
Expected behaviour
An AP with hidden SSID
Observed behaviour
Parameter unknown
Additional Information
According to the docs there should be a config parameter 'hidden' for the WLAN class, which supposingly hides the SSID when running in IF_AP mode.
However, in reality this doesn't seem to exist, and results in an error 'unknown config param'.
The Gibhub repo also doesn't show it in code (as far as I can tell).
Neither could I see a param with a different name meant for this purpose.
Perhaps this was overlooked..?
Thanks for following this up! :D
Code of Conduct
Yes, I agree
Cannot change default exposed IP (for DHCP etc) on Pico W running in AP mode (remains exposing default 192.168.4.x)
Port, board and/or hardware
Pico W
MicroPython version
MicroPython v1.26.0 on 2025-08-09; Raspberry Pi Pico W with RP2040
Reproduction
- Create a WLAN in IF_AP mode and set IP (and subnet, GW, DNS, etc) via WLAN.ifconfig
- Confirm that ifconfig() returns the expected parameters
- Conclude that the exposed IP address (incl DHCP range etc) when connecting clients to the AP remains the default 192.168.4.1
Expected behaviour
Expected the exposed DHCP gateway address and range to follow the set parameters, instead of the default 192.168.4.1
Observed behaviour
DHCP gateway address and range remain 192.168.4.1
Additional Information
(!) Do ensure ifconfig() is called áfter activating the WLAN, as otherwise it will definitely reset to the default settings, confirmed by printing them. So WLAN.active(true), then WLAN.ifconfig(...)
See also this link
and this link
Code of Conduct
Yes, I agree