This commit is contained in:
richonguzman 2023-03-27 00:50:20 -03:00
parent 8125eb9d02
commit ea41b584e0
2 changed files with 1 additions and 5 deletions

View file

@ -3,7 +3,6 @@
"comment": "LoRa_APRS_iGate https://github.com/richonguzman/LoRa_APRS_iGate",
"beacon_interval": 15,
"wifi": {
"active": true,
"AP": [
{ "SSID": "Jimenicita",
"Password": "mg6wyMhqRnxk",
@ -18,7 +17,6 @@
]
},
"aprs_is": {
"active": true,
"passcode": "23201",
"server": "soam.aprs2.net",
"port": 14580,

View file

@ -17,7 +17,6 @@ public:
class APRS_IS {
public:
bool active;
int passcode;
String server;
int port;
@ -86,8 +85,7 @@ private:
callsign = data["callsign"].as<String>();
comment = data["comment"].as<String>();
beacon_interval = data["beacon_interval"].as<int>();
aprs_is.active = data["aprs_is"]["active"].as<bool>();
aprs_is.passcode = data["aprs_is"]["passcode"].as<int>();
aprs_is.server = data["aprs_is"]["server"].as<String>();
aprs_is.port = data["aprs_is"]["port"].as<int>();