From 9835da6630cca8b429de6d9d61821faf9490ce54 Mon Sep 17 00:00:00 2001 From: richonguzman Date: Wed, 12 Jul 2023 23:10:02 -0400 Subject: [PATCH] update to versionDate in status --- src/LoRa_APRS_iGate.cpp | 2 +- src/utils.cpp | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/LoRa_APRS_iGate.cpp b/src/LoRa_APRS_iGate.cpp index 51def66..d81db72 100644 --- a/src/LoRa_APRS_iGate.cpp +++ b/src/LoRa_APRS_iGate.cpp @@ -20,7 +20,7 @@ Configuration Config; WiFiClient espClient; -String versionDate = "2023.07.06"; +String versionDate = "2023.07.12"; int myWiFiAPIndex = 0; int myWiFiAPSize = Config.wifiAPs.size(); WiFi_AP *currentWiFi = &Config.wifiAPs[myWiFiAPIndex]; diff --git a/src/utils.cpp b/src/utils.cpp index 1dd2b50..9546c86 100644 --- a/src/utils.cpp +++ b/src/utils.cpp @@ -39,6 +39,7 @@ extern int rssi; extern float snr; extern int freqError; extern String distance; +extern String versionDate; namespace Utils { @@ -46,12 +47,12 @@ void processStatus() { String status = Config.callsign + ">APLRG1"; if (stationMode==1 || stationMode==2) { delay(1000); - status += ",qAC:>https://github.com/richonguzman/LoRa_APRS_iGate"; + status += ",qAC:>https://github.com/richonguzman/LoRa_APRS_iGate " + versionDate ; espClient.write((status + "\n").c_str()); SYSLOG_Utils::log("APRSIS Tx", status,0,0,0); } else { delay(5000); - status += ":>https://github.com/richonguzman/LoRa_APRS_iGate"; + status += ":>https://github.com/richonguzman/LoRa_APRS_iGate " + versionDate; if (stationMode == 4) { LoRa_Utils::changeFreqTx(); }