Web Server Comments

This commit is contained in:
Siwat Sirichai 2024-01-01 23:40:32 +07:00
parent d8aae4d3b0
commit 4fd8a0a761
3 changed files with 143 additions and 1 deletions

View file

@ -12,6 +12,10 @@
/**
* @brief Provides a web server for ESPMegaPRO
*
* This class provides a web server for ESPMegaPRO. It is used to configure the device and to update the firmware.
* This class also allows to save the credentials to access the web server in the FRAM memory.
* User can also add custom endpoints to the web server.
*
* This class use FRAM address 301-400
*/
class ESPMegaWebServer
@ -29,6 +33,7 @@ class ESPMegaWebServer
void bindFRAM(FRAM *fram);
void loadCredentialsFromFRAM();
void saveCredentialsToFRAM();
AsyncWebServer* getServer();
private:
// FRAM
FRAM *fram;