NodeMCU ESP8266 problem connecting to hidden SSID

Title explains itself..I cant seem to get it to connect to a hidden SSID. I've seen quite a few things around the interwebs saying it was possible but no answers as to what needs to change in the code or library. I've also seen people trashing the poster who asked about it as to the merits of using a hidden SSID. I've also seen people say it wasn't possible.

Any input on this? For what it's worth, I have no option here, I MUST BE ABLE to connect to a hidden SSID, so if it is possible any ideas or help would be appreciated. :slight_smile:

Any input on this? For what it's worth, I have no option here, I MUST BE ABLE to connect to a hidden SSID, so if it is possible any ideas or help would be appreciated.

If the access point implements the feature correctly a hidden SSID shouldn't be a problem but many don't do that correctly.
Hidden SSIDs were a "security" feature in the early days of WiFi but have absolutely no value anymore today, so the question of why you think you need it should be allowed. If there is a good reason (I don't see any) you might have to change your access point to a model that implements it correctly.

Thanks for the reply.

Our company has contracted with Global Linking Solutions to provide all security for internet access at over 5000 locations in the USA. At each location there is a visible Wifi SSID for customers that cuts you off after an hour (and requires acceptance of terms and throttles the connection) and then the hidden Wifi which is for in-store devices only like camera systems etc... Unfortunately I do not have access to be able to change it to a visible SSID (no way they will do that). Hence why I said I have no other option.

I have connected numerous devices to this hidden SSID in multiple locations before, yet for some reason the ESP8266 is giving me fits about it. I guess I will call GLS and see if there is some special security setting I am missing.

Thanks,
CJ

cjizzle:
Our company has contracted with Global Linking Solutions to provide all security for internet access at over 5000 locations in the USA.

That is interesting that a professional provider uses this feature. From what I understand clients that have been connected to hidden SSID networks basically scream the SSID around to look for the hidden network. So, wherever you go because your device cannot look for the SSID being broadcast by the WiFi network it runs around and shouts hey "hidden SSID network" are you here?

Did you try ESP32 or any other WiFi enabled device? Maybe it is just the ESP8266 network stack.

I have run ESP8266 successfully several years also with hidden SSID. So imho even the basic examples can work with hidden SSID. On the other hand, I know that commercial products using the ESP8266 might fail with hidden SSID (on the same network), one example is the TTIG Indoor Gateway ;-(
Only way around was - convince the Admin that a hidden SSID is considered to be WORSE than unhidden SSID. Welcome in 2020.

May we ask to post the code you're trying with?