mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-04-05 06:26:46 +00:00
added initial corrections to WiFiAP
This commit is contained in:
parent
d5eb32a38b
commit
0a79b6459b
8 changed files with 26 additions and 20 deletions
|
|
@ -17,8 +17,9 @@ void Configuration::writeFile() {
|
|||
}
|
||||
}
|
||||
|
||||
data["wifi"]["autoAP"]["active"] = wifiAutoAP.active;
|
||||
data["wifi"]["autoAP"]["password"] = wifiAutoAP.password;
|
||||
data["wifi"]["autoAP"]["powerOff"] = wifiAutoAP.powerOff;
|
||||
data["wifi"]["autoAP"]["timeout"] = wifiAutoAP.timeout;
|
||||
|
||||
data["callsign"] = callsign;
|
||||
|
||||
|
|
@ -128,8 +129,9 @@ bool Configuration::readFile() {
|
|||
wifiAPs.push_back(wifiap);
|
||||
}
|
||||
|
||||
wifiAutoAP.active = data["wifi"]["autoAP"]["active"] | true;
|
||||
wifiAutoAP.password = data["wifi"]["autoAP"]["password"] | "1234567890";
|
||||
wifiAutoAP.powerOff = data["wifi"]["autoAP"]["powerOff"] | 10;
|
||||
wifiAutoAP.timeout = data["wifi"]["autoAP"]["timeout"] | 10;
|
||||
|
||||
callsign = data["callsign"] | "NOCALL-10";
|
||||
rememberStationTime = data["other"]["rememberStationTime"] | 30;
|
||||
|
|
@ -233,8 +235,9 @@ void Configuration::init() {
|
|||
|
||||
wifiAPs.push_back(wifiap);
|
||||
|
||||
wifiAutoAP.active = true;
|
||||
wifiAutoAP.password = "1234567890";
|
||||
wifiAutoAP.powerOff = 15;
|
||||
wifiAutoAP.timeout = 10;
|
||||
|
||||
callsign = "N0CALL-10";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue