Skip to content
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

Can't connect to open network with empty string passphrase #5533

Closed
frishrash opened this issue Dec 21, 2018 · 2 comments
Closed

Can't connect to open network with empty string passphrase #5533

frishrash opened this issue Dec 21, 2018 · 2 comments

Comments

@frishrash
Copy link

When empty string is passed as passphrase:

newAP.passphrase = strdup("");

to WiFi.begin():

WiFi.begin(bestNetwork.ssid, bestNetwork.passphrase, bestChannel, bestBSSID);

My ESP8266 (Wemos D1 mini) can't connect to my open access point (OpenWRT).
ESP8266WiFiMulti::run() returns WL_DISCONNECTED with WiFiDisconnectReason of WIFI_DISCONNECT_REASON_NO_AP_FOUND.

When I change the passphrase to NULL everything works.

@d-a-v
Copy link
Collaborator

d-a-v commented Dec 21, 2018

Can you try again with latest git, #5516 might be related.

@devyte
Copy link
Collaborator

devyte commented Dec 30, 2018

It is. Closing.

@devyte devyte closed this as completed Dec 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants