Page 1 of 1

WLAN.config(hidden="False") didnt work

Posted: Thu Jun 14, 2018 4:49 pm
by ZKDMun
MicroPython-Version: "MicroPython v1.9.3-8-g63826ac5c on 2017-11-01"

Hi there,
I have changed the WLAN config last time to WLAN.config(hidden="True") - but now I am not able to reverse this.

I have tried:

Code: Select all

WLAN.config(hidden="False")
But after this I will always get:

Code: Select all

WLAN.config("hidden")
>>> True
I have tried hard reset too - without success.

Any idea how to solve this?

Another problem:
If my essid is hidden, I cannot connect my second board to this one...
I have tried this on my ESP32 - there it is possible to connect with it, if the essid is hidden. But on the ESP8266 this didnt work? :(


edit:
same problem with "esp8266-20180511-v1.9.4".

Re: WLAN.config(hidden="False") didnt work

Posted: Thu Jun 14, 2018 5:14 pm
by ZKDMun
Found the solution:

You can set WLAN.config(hidden="True") or WLAN.config(hidden=True) - both works.

But you have to use WLAN.config(hidden=False) to reverse this... WLAN.config(hidden="False") didnt work.
Inserting the boolean False as a string didnt work, just for setting it "True".

And connecting to the other board just need a few seconds... than WLAN.isconnected() returns True.
Sorry for time stealing :(