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.
    – dandavis
    Jan 11, 2018 at 22:03

1 Answer 1

7

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.

Not the answer you're looking for? Browse other questions tagged or ask your own question.