Commit 064a679f authored by Eric Duminil's avatar Eric Duminil
Browse files

Notes

parent 65723925
......@@ -5,6 +5,9 @@ namespace config {
"stringParam").label("String param").build();
}
//TODO: Is there any conflict with SPIFFS/LittleFS?
//TODO: Actually use those parameters
namespace web_config {
#if defined(ESP8266)
ESP8266WebServer http(80); // Create a webserver object that listens for HTTP request on port 80
......@@ -148,6 +151,7 @@ namespace web_config {
sensor_console::defineCommand("reset_config", []() {
Serial.println(F("Resetting config..."));
//TODO: Reset every group
iotWebConf->getSystemParameterGroup()->applyDefaultValue();
iotWebConf->saveConfig();
Serial.println(F("Done!"));
......
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