This recipe will show you how to connect the ESP8266 to an existing Wi-Fi network. There are many benefits to joining an existing Wi-Fi network. Doing so makes it possible to wirelessly access the board from different devices on your network. It also provides the board with internet connectivity through the Wi-Fi network's internet connection. You can use the approach shown in this recipe to connect your own embedded projects to different networks and help enable internet connectivity in these projects.
Connecting to an existing Wi-Fi network
Getting ready
You will need access to the REPL on the ESP8266 to run the code presented in this recipe.