From b5fddd0f8613886c8541184cfb9861de1e2ce6e3 Mon Sep 17 00:00:00 2001 From: Eric Duminil Date: Fri, 14 May 2021 21:57:09 +0200 Subject: [PATCH] Kinda broken, but possibly promising --- ampel-firmware/web_server.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/ampel-firmware/web_server.cpp b/ampel-firmware/web_server.cpp index cded475..fcbc13e 100644 --- a/ampel-firmware/web_server.cpp +++ b/ampel-firmware/web_server.cpp @@ -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(); -- GitLab