-
Notifications
You must be signed in to change notification settings - Fork 42
CPP: AP
Leo Vidarte edited this page Mar 10, 2017
·
1 revision
Checkout this PlatformIO project code here
The relevant code to set the ESP8266 as access point is
#include <ESP8266WiFi.h>
const char *ssid = "ESP-AP";
const char *password = "12345678";
WiFi.softAP(ssid, password);
Go to http://192.168.4.1 in a web browser connected to this access point to see it
{
hosts: [
"192.168.4.3",
"192.168.4.2",
"192.168.4.4"
]
}
ESP8266 NodeMCU Workshop - 2017