Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
co2ampel
ampel-firmware
Commits
b5fddd0f
Commit
b5fddd0f
authored
May 14, 2021
by
Eric Duminil
Browse files
Kinda broken, but possibly promising
parent
b3332923
Changes
1
Hide whitespace changes
Inline
Side-by-side
ampel-firmware/web_server.cpp
View file @
b5fddd0f
...
@@ -58,15 +58,9 @@ namespace web_server {
...
@@ -58,15 +58,9 @@ namespace web_server {
WebServer
http
(
80
);
WebServer
http
(
80
);
#endif
#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
;
DNSServer
dnsServer
;
IotWebConf
iotWebConf
(
thingName
,
&
dnsServer
,
&
http
,
wifiInitialApPassword
);
IotWebConf
iotWebConf
(
ampel
.
sensorId
,
&
dnsServer
,
&
http
,
HTTP_PASSWORD
);
void
update
()
{
void
update
()
{
iotWebConf
.
doLoop
();
iotWebConf
.
doLoop
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment