forked from Akcelerometry_drgania_WMT/PI_mikrokontroler
Dodanie REST API w tle (endpoint /api/wifi) sluzacego do zdalnego dopisywania nowej sieci WiFi do pliku konfiguracyjnego w czasie normalnej pracy
This commit is contained in:
@@ -46,6 +46,7 @@ class WiFiManager {
|
||||
|
||||
void handleClient();
|
||||
void startCaptivePortal();
|
||||
void handleApiWifi();
|
||||
void handleRoot();
|
||||
void handleSave();
|
||||
void handleNotFound();
|
||||
@@ -70,6 +71,7 @@ class WiFiManager {
|
||||
private:
|
||||
bool isAccessPoint = false;
|
||||
bool captivePortalActive = false;
|
||||
bool serverActive = false;
|
||||
WebServer server{80};
|
||||
DNSServer dnsServer;
|
||||
int expectedCaptchaAnswer = 0;
|
||||
|
||||
Reference in New Issue
Block a user