-
Notifications
You must be signed in to change notification settings - Fork 13.3k
STA+STATION mode unconnectable to other esp8266 if SSID is hidden #3625
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
There is a known issue when connecting to an AP that has a hidden SSID. The changelist of SDK 2.1.0 shows a fix that seems related. |
Are you familiar on how to try this branch through Platformio? I guess I would have to define it on the platformio.ini, but I don't think they have a way for me to use any branch freely, out of their framework system. |
@Alasknnj I don't use PlatformIO, I use the Arduino IDE for building and flashing, and gvim for code editing :p |
I have tried and unsuccessfully managed to do this by their structure. I really don't want to dig deep on how it works to do this, but I might just have to u.u When I manage to do so, I will send a feedback about version 2.1.0 on regard of this issue |
The same trouble in SDK version 2.2.1(cfd48f3). |
Basic Infos
Hardware
Hardware: esp8266
Core Version: 2.3.0
Description
I have two nodeMCUs, one of them connects to a router network in WIFI_STA mode, then goes to WIFI_AP_STA mode and opens a hidden AP. The other nodeMCU then should connect to the hidden AP the first node created.
The problem is, the second node cannot connect to the first node's hidden AP.
I observed that if the first node doesn't connect to the router network, and open the hidden AP in WIFI_STA_MODE, the second nodes manages to connect. I also observed that even if the first node connects to the router network and opens the AP, if the AP is not hidden, the second node can connect.
However the combination: first node connects to router network + opens hidden AP doesn't result in a successful connection for the second node, it just keeps trying to connect.
I have also been able to connect to the first node's hidden AP through my PC without any issue.
Settings in IDE
Module: NodeMCU 1.0(ESP-12E Module)
Flash Size: 4MB/3MB
CPU Frequency: 80MHz
Upload Speed: 115200
Upload Using: Serial
Sketch
I used the HTTPRequest example as a base to test this issue.
For the first node:
For the second node:
output
First node:
Second node:
The text was updated successfully, but these errors were encountered: