mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-04-04 22:19:00 +00:00
base lista
This commit is contained in:
parent
ad5a5ccf18
commit
56d63d0389
8 changed files with 51 additions and 5 deletions
|
|
@ -99,6 +99,8 @@ void Configuration::writeFile() {
|
|||
|
||||
data["personalNote"] = personalNote;
|
||||
|
||||
data["blackList"] = blackList;
|
||||
|
||||
data["webadmin"]["active"] = webadmin.active;
|
||||
data["webadmin"]["username"] = webadmin.username;
|
||||
data["webadmin"]["password"] = webadmin.password;
|
||||
|
|
@ -221,6 +223,8 @@ bool Configuration::readFile() {
|
|||
|
||||
personalNote = data["personalNote"] | "personal note here...";
|
||||
|
||||
blackList = data["blackList"] | "";
|
||||
|
||||
if (wifiAPs.size() == 0) { // If we don't have any WiFi's from config we need to add "empty" SSID for AUTO AP
|
||||
WiFi_AP wifiap;
|
||||
wifiap.ssid = "";
|
||||
|
|
@ -327,6 +331,8 @@ void Configuration::init() {
|
|||
|
||||
personalNote = "";
|
||||
|
||||
blackList = "";
|
||||
|
||||
webadmin.active = false;
|
||||
webadmin.username = "admin";
|
||||
webadmin.password = "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue