diff --git a/data/igate_conf.json b/data/igate_conf.json index 0c7a05a..1109e4a 100644 --- a/data/igate_conf.json +++ b/data/igate_conf.json @@ -1,23 +1,23 @@ { - "callsign": "CD2RXU-11", + "callsign": "NOCALL-10", "comment": "LoRa_APRS_iGate https://github.com/richonguzman/LoRa_APRS_iGate", "beacon_interval": 15, "wifi": { "AP": [ - { "SSID": "Jimenicita", - "Password": "mg6wyMhqRnxk", - "Latitude": -33.0312173, - "Longitude": -71.5795816 + { "SSID": "WiFi_AP_1", + "Password": "password_WiFi_1", + "Latitude": 0.0000000, + "Longitude": 0.0000000 }, - { "SSID": "Richon", - "Password": "k4fPnmg5qnyf", - "Latitude": -33.0337121, - "Longitude": -71.5738217 + { "SSID": "WiFi_AP_2", + "Password": "password_WiFi_2", + "Latitude": 0.0000000, + "Longitude": 0.0000000 } ] }, "aprs_is": { - "passcode": "23201", + "passcode": "", "server": "soam.aprs2.net", "port": 14580, "software_name" : "ESP32_LoRa_iGate", @@ -32,7 +32,7 @@ "power": 20 }, "display": { - "always_on": false, + "always_on": true, "timeout": 2 } } diff --git a/src/LoRa_APRS_iGate.cpp b/src/LoRa_APRS_iGate.cpp index b7e5d9c..e53fd13 100644 --- a/src/LoRa_APRS_iGate.cpp +++ b/src/LoRa_APRS_iGate.cpp @@ -20,7 +20,7 @@ static bool beacon_update = true; unsigned long previousWiFiMillis = 0; static uint32_t lastRxTxTime = millis(); -static int myWiFiAPIndex = 1; +static int myWiFiAPIndex = 0; int myWiFiAPSize = Config.wifiAPs.size(); WiFi_AP *currentWiFi = &Config.wifiAPs[myWiFiAPIndex];