html dashboard page, without upload

This commit is contained in:
Siwat Sirichai 2024-01-01 16:38:14 +07:00
parent 8c43d260d0
commit d340142879
10 changed files with 719 additions and 3 deletions

View file

@ -3,6 +3,7 @@
#include <ESPAsyncWebServer.h>
#include <ESPMegaIoT.hpp>
#include <Update.h>
#include <html/all.h>
class ESPMegaWebServer
{
@ -19,6 +20,7 @@ class ESPMegaWebServer
ESPMegaIoT *iot;
// Endpoints Handlers
void dashboardHandler(AsyncWebServerRequest *request);
String dashboardProcessor(const String& var);
void configHandler(AsyncWebServerRequest *request);
void saveConfigHandler(AsyncWebServerRequest *request);
void otaHandler(AsyncWebServerRequest *request);