mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-03-29 03:14:58 +00:00
Improved initial setup
This commit is contained in:
@@ -45,6 +45,8 @@
|
||||
|
||||
#include "LittleFS.h"
|
||||
|
||||
#define WIFI_TEST_TIMEOUT 30000
|
||||
|
||||
class AmsWebServer {
|
||||
public:
|
||||
#if defined(AMS_REMOTE_DEBUG)
|
||||
@@ -113,6 +115,10 @@ private:
|
||||
WebServer server;
|
||||
#endif
|
||||
|
||||
bool wifiTestInProgress = false;
|
||||
unsigned long wifiTestStarted = 0;
|
||||
uint8_t wifiTestStatusCode = 0;
|
||||
|
||||
bool checkSecurity(byte level, bool send401 = true);
|
||||
|
||||
void indexHtml();
|
||||
@@ -137,6 +143,8 @@ private:
|
||||
void cloudkeyJson();
|
||||
|
||||
void wifiScan();
|
||||
void wifiTestStart();
|
||||
void wifiTestStatus();
|
||||
|
||||
void configurationJson();
|
||||
void handleSave();
|
||||
|
||||
Reference in New Issue
Block a user