Commit b5fddd0f authored by Eric Duminil's avatar Eric Duminil
Browse files

Kinda broken, but possibly promising

parent b3332923
......@@ -58,15 +58,9 @@ namespace web_server {
WebServer http(80);
#endif
// -- Initial name of the Thing. Used e.g. as SSID of the own Access Point.
const char thingName[] = "ampel_wifi";
// -- Initial password to connect to the Thing, when it creates an own Access Point.
const char wifiInitialApPassword[] = "12345678";
DNSServer dnsServer;
IotWebConf iotWebConf(thingName, &dnsServer, &http, wifiInitialApPassword);
IotWebConf iotWebConf(ampel.sensorId, &dnsServer, &http, HTTP_PASSWORD);
void update() {
iotWebConf.doLoop();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment