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.

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

Your Answer

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.