Remove USER_SETTINGS for good

This commit is contained in:
Daniel Öster 2025-09-02 21:18:15 +03:00
parent da560e1629
commit 53d40cbe51
18 changed files with 21 additions and 59 deletions

View file

@ -2,7 +2,6 @@
#include <ESPmDNS.h>
#include "../utils/events.h"
#include "../utils/logging.h"
#include "USER_SETTINGS.h"
bool wifi_enabled = true;
bool wifiap_enabled = true;
@ -15,6 +14,12 @@ std::string password;
std::string ssidAP;
std::string passwordAP;
// Set your Static IP address. Only used incase Static address option is set
//TODO: Make configurable via webserver
IPAddress local_IP(192, 168, 10, 150);
IPAddress gateway(192, 168, 10, 1);
IPAddress subnet(255, 255, 255, 0);
// Configuration Parameters
static const uint16_t WIFI_CHECK_INTERVAL = 2000; // 1 seconds normal check interval when last connected
static const uint16_t STEP_WIFI_CHECK_INTERVAL = 2000; // 3 seconds wait step increase in checks for normal reconnects