From a8a7c3e3a3291dfdf53aa93722489e9ff591e228 Mon Sep 17 00:00:00 2001 From: SQ2CPA Date: Thu, 28 Mar 2024 17:59:43 +0100 Subject: [PATCH 1/5] fix: missing sender variable --- src/digi_utils.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/digi_utils.cpp b/src/digi_utils.cpp index 0fc3459..3515eea 100644 --- a/src/digi_utils.cpp +++ b/src/digi_utils.cpp @@ -61,6 +61,7 @@ namespace DIGI_Utils { String loraPacket, Sender, AddresseeAndMessage, Addressee; if (packet != "") { if ((packet.substring(0, 3) == "\x3c\xff\x01") && (packet.indexOf("NOGATE") == -1)) { + Sender = packet.substring(3, packet.indexOf(">")); if (Sender != Config.callsign) { String sender = packet.substring(3, packet.indexOf(">")); STATION_Utils::updateLastHeard(sender); From 14999d1b661751eecb97112fa16fa2d9b5fb22cc Mon Sep 17 00:00:00 2001 From: SQ2CPA Date: Thu, 28 Mar 2024 18:00:46 +0100 Subject: [PATCH 2/5] feat: low power mode --- data/igate_conf.json | 3 ++- data_embed/index.html | 47 ++++++++++++++++++++++++++++++++ data_embed/script.js | 3 +++ src/LoRa_APRS_iGate.cpp | 60 ++++++++++++++++++++++++++++++++++++++++- src/configuration.cpp | 6 +++++ src/configuration.h | 1 + src/lora_utils.cpp | 14 ++++++++-- src/lora_utils.h | 1 + src/web_utils.cpp | 2 ++ 9 files changed, 133 insertions(+), 4 deletions(-) diff --git a/data/igate_conf.json b/data/igate_conf.json index 2aae297..c3d9017 100644 --- a/data/igate_conf.json +++ b/data/igate_conf.json @@ -65,6 +65,7 @@ "rememberStationTime": 30, "sendBatteryVoltage": false, "externalVoltageMeasurement": false, - "externalVoltagePin": 34 + "externalVoltagePin": 34, + "lowPowerMode": false } } \ No newline at end of file diff --git a/data_embed/index.html b/data_embed/index.html index 94cb1cb..7af611d 100644 --- a/data_embed/index.html +++ b/data_embed/index.html @@ -1236,6 +1236,53 @@ +
+ +
+
+
+ + + + + Experimental +
+ You can test new features. Use at your own risk! +
+
+
+
+
+
+ WiFi disabled. Sleep mode. Best for solar Digi with SX126X. +
+ + +
+
+
+
+