Add Wificfg

Uses the sysparam store to save the wifi configuration.
Adds a basic http server for configuration.
This commit is contained in:
Our Air Quality 2017-08-13 15:16:50 +10:00
parent af4ac44cb5
commit 8b0a1ae362
17 changed files with 2596 additions and 0 deletions

View file

@ -0,0 +1,8 @@
"HTTP/1.1 200 \r\n"
"Content-Type: text/javascript\r\n"
"Cache-Control: max-age=900\r\n"
"Transfer-Encoding: chunked\r\n"
"Connection: close\r\n"
"\r\n",
"function myFunction() { var x = document.getElementById(\"myTopnav\");"
"if (x.className === \"topnav\") { x.className += \" responsive\"; } else { x.className = \"topnav\"; } }"