Improved initial setup

This commit is contained in:
Gunnar Skjold
2026-02-26 14:37:18 +01:00
parent 0b4884652f
commit 6889253d86
8 changed files with 160 additions and 56 deletions

View File

@@ -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();