From 0f7aea17c0065bc843465d4c6d352d0d573d34f9 Mon Sep 17 00:00:00 2001 From: richonguzman Date: Sun, 16 Jul 2023 16:24:09 -0400 Subject: [PATCH] adding version date info --- README.md | 3 ++- data/igate_conf.json | 2 +- src/LoRa_APRS_iGate.cpp | 2 +- src/bme_utils.cpp | 2 ++ src/utils.cpp | 2 +- 5 files changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2553181..3e96902 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,8 @@ Versions: - 2023.06.12 Syslog added. - 2023.06.17 Support for BME280 Module (Temperature, Humidity, Pressure) added. - 2023.06.18 Info on Oled Screen mayor update, added RSSI and Distance to Listened Station. -- 2023.07.05 Adding monitor info of Battery connected +- 2023.07.05 Adding monitor info of Battery connected. + __________________________________________ Special Thanks to the help in testing and developing to Manfred (DC2MH) , for showing me the "way of good coding" to Tihomir (CA3TSK) and much more Ham Licence Ops all over the world. diff --git a/data/igate_conf.json b/data/igate_conf.json index 45380e9..070f994 100644 --- a/data/igate_conf.json +++ b/data/igate_conf.json @@ -23,7 +23,7 @@ }, "aprs_is": { "passcode": "VWXYZ", - "server": "soam.aprs2.net", + "server": "euro.aprs2.net", "port": 14580, "reportingDistance": 30 }, diff --git a/src/LoRa_APRS_iGate.cpp b/src/LoRa_APRS_iGate.cpp index d81db72..96790df 100644 --- a/src/LoRa_APRS_iGate.cpp +++ b/src/LoRa_APRS_iGate.cpp @@ -16,10 +16,10 @@ #include "display.h" #include "utils.h" + Configuration Config; WiFiClient espClient; - String versionDate = "2023.07.12"; int myWiFiAPIndex = 0; int myWiFiAPSize = Config.wifiAPs.size(); diff --git a/src/bme_utils.cpp b/src/bme_utils.cpp index 9848d6b..5ac2687 100644 --- a/src/bme_utils.cpp +++ b/src/bme_utils.cpp @@ -6,6 +6,8 @@ extern Configuration Config; extern String fifthLine; +//#define SEALEVELPRESSURE_HPA (1013.25) + namespace BME_Utils { Adafruit_BME280 bme; diff --git a/src/utils.cpp b/src/utils.cpp index 9546c86..6d7d9f0 100644 --- a/src/utils.cpp +++ b/src/utils.cpp @@ -222,7 +222,7 @@ void typeOfPacket(String packet, String packetType) { void startOTAServer() { if (stationMode==1 || stationMode==2) { server.on("/", HTTP_GET, [](AsyncWebServerRequest *request) { - request->send(200, "text/plain", "Hi " + Config.callsign + ", this is your (Richonguzman/CD2RXU) LoRa iGate.\n\nTo update your firmware or filesystem go to: http://" + getLocalIP().substring(getLocalIP().indexOf(":")+2) + "/update\n\n\n73!"); + request->send(200, "text/plain", "Hi " + Config.callsign + ", this is your (Richonguzman/CD2RXU) LoRa iGate (version" + versionDate + ").\n\nTo update your firmware or filesystem go to: http://" + getLocalIP().substring(getLocalIP().indexOf(":")+2) + "/update\n\n\n73!"); }); AsyncElegantOTA.begin(&server); server.begin();