EPD Display  1.0.0
Library and application for EPD smart displays
Macros | Functions | Variables
EpdWebServer.cpp File Reference

Establing and creating network connection / Reading remote host API GET response. More...

#include "EpdWebServer.h"
Include dependency graph for EpdWebServer.cpp:

Macros

#define APIURL   "http://192.168.1.18:8000/"
 
#define SETUPURL   "http://192.168.1.18:8000/setup/84:CC:A8:48:58:C4"
 
#define PARAM_INPUT_SSID   "SsidInput"
 
#define PARAM_INPUT_PASS   "PasswordInput"
 
#define WIFI_TIMEOT_MS   5000
 
#define AP_TIMEOT_MS   60000
 

Functions

void notFound (AsyncWebServerRequest *request)
 Error - host not found. More...
 
AsyncWebServer server (80)
 
String readFile (fs::FS &fs, const char *path)
 Reading Flash memory files with network credentials. More...
 
void writeFile (fs::FS &fs, const char *path, const char *message)
 Writing Flash memory files with network credentials. More...
 
String processor (const String &var)
 Replaces placeholder with stored values. More...
 

Variables

const char index_html[] PROGMEM
 
HTTPClient http
 
String valuePassword
 
String valueSsid
 
String SsidInput
 
String PasswordInput
 
int setting
 

Detailed Description

Establing and creating network connection / Reading remote host API GET response.

Author
Dávid Jánosfalvi, Juraj Ďuďák