3

Is it possible to connect to an SSID that does not require a password? My project using ESP8266-01 modules will sometimes be used in non-password protected guest networks.

asked Jan 11, 2018 at 3:13
1
  • 1
    yes, just skip the password. it works. Commented Jan 11, 2018 at 22:03

1 Answer 1

8

Yes, it works! You can use:

WiFi.begin(ssid, NULL)

or even leave the passphrase empty, because it is optional:

WiFi.begin(ssid)

Reference: https://www.arduino.cc/en/Reference/WiFiBegin

answered Jan 11, 2018 at 7:39

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.