mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-07-21 09:02:43 +02:00
Compare commits
4 Commits
QRP-LG-Plus
..
UEM8
| Author | SHA1 | Date | |
|---|---|---|---|
| 46a3dc0d39 | |||
| 50b3094de9 | |||
| 48c919f3f2 | |||
| 5cda9a2285 |
@@ -669,13 +669,13 @@
|
|||||||
id="digi.ecoMode"
|
id="digi.ecoMode"
|
||||||
>
|
>
|
||||||
<option value="0">
|
<option value="0">
|
||||||
OFF (Normal Mode)
|
OFF (Normal Mode - WiFiAP enabled)
|
||||||
</option>
|
</option>
|
||||||
<option value="1">
|
<option value="1">
|
||||||
Ultra Eco Mode (Sleep till Packet Rx (WiFiAP/WebUI & Display disabled))
|
Ultra Eco Mode (Sleep till Packet Rx (WiFiAP/WebUI & Display disabled))
|
||||||
</option>
|
</option>
|
||||||
<option value="2">
|
<option value="2">
|
||||||
OFF (Normal Mode without WiFiAP)
|
OFF (Normal Mode - WiFiAP disabled)
|
||||||
</option>
|
</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ ___________________________________________________________________*/
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
String versionDate = "2025-05-18";
|
String versionDate = "2025-06-20";
|
||||||
Configuration Config;
|
Configuration Config;
|
||||||
WiFiClient espClient;
|
WiFiClient espClient;
|
||||||
#ifdef HAS_GPS
|
#ifdef HAS_GPS
|
||||||
|
|||||||
+4
-4
@@ -58,8 +58,8 @@ namespace QUERY_Utils {
|
|||||||
else if (STATION_Utils::isManager(station) && (!queryFromAPRSIS || !Config.remoteManagement.rfOnly)) {
|
else if (STATION_Utils::isManager(station) && (!queryFromAPRSIS || !Config.remoteManagement.rfOnly)) {
|
||||||
if (queryQuestion.indexOf("?EM=OFF") == 0) {
|
if (queryQuestion.indexOf("?EM=OFF") == 0) {
|
||||||
if ((Config.digi.mode == 2 || Config.digi.mode == 3) && Config.loramodule.txActive && Config.loramodule.rxActive && !Config.aprs_is.active) {
|
if ((Config.digi.mode == 2 || Config.digi.mode == 3) && Config.loramodule.txActive && Config.loramodule.rxActive && !Config.aprs_is.active) {
|
||||||
if (Config.digi.ecoMode == 1) { // Exit Digipeater EcoMode
|
if (Config.digi.ecoMode == 1 || Config.digi.ecoMode == 2) { // Exit Digipeater EcoMode or Digipeater without WiFiAP
|
||||||
answer = "DigiEcoMode:OFF";
|
answer = (Config.digi.ecoMode == 1) ? "DigiEcoMode:OFF" : "Digipeater + WiFiAP enabled";
|
||||||
Config.digi.ecoMode = 0;
|
Config.digi.ecoMode = 0;
|
||||||
Config.display.alwaysOn = true;
|
Config.display.alwaysOn = true;
|
||||||
Config.display.timeout = 10;
|
Config.display.timeout = 10;
|
||||||
@@ -69,7 +69,7 @@ namespace QUERY_Utils {
|
|||||||
answer = "DigiEcoMode was OFF";
|
answer = "DigiEcoMode was OFF";
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
answer = "DigiEcoMode control not possible";
|
answer = "Digipeater Mode control not possible";
|
||||||
}
|
}
|
||||||
} else if (queryQuestion.indexOf("?EM=ON") == 0) {
|
} else if (queryQuestion.indexOf("?EM=ON") == 0) {
|
||||||
if ((Config.digi.mode == 2 || Config.digi.mode == 3) && Config.loramodule.txActive && Config.loramodule.rxActive && !Config.aprs_is.active) {
|
if ((Config.digi.mode == 2 || Config.digi.mode == 3) && Config.loramodule.txActive && Config.loramodule.rxActive && !Config.aprs_is.active) {
|
||||||
@@ -82,7 +82,7 @@ namespace QUERY_Utils {
|
|||||||
answer = "DigiEcoMode was ON";
|
answer = "DigiEcoMode was ON";
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
answer = "DigiEcoMode control not possible";
|
answer = "Digipeater Mode control not possible";
|
||||||
}
|
}
|
||||||
} else if (queryQuestion.indexOf("?EM=?") == 0) { // Digipeater EcoMode Status
|
} else if (queryQuestion.indexOf("?EM=?") == 0) { // Digipeater EcoMode Status
|
||||||
if (Config.digi.ecoMode == 0) {
|
if (Config.digi.ecoMode == 0) {
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
#define RADIO_RST_PIN -1
|
#define RADIO_RST_PIN -1
|
||||||
#define RADIO_BUSY_PIN 8
|
#define RADIO_BUSY_PIN 8
|
||||||
#define RADIO_WAKEUP_PIN RADIO_DIO1_PIN
|
#define RADIO_WAKEUP_PIN RADIO_DIO1_PIN
|
||||||
#define GPIO_WAKEUP_PIN RADIO_DIO1_PIN
|
#define GPIO_WAKEUP_PIN GPIO_NUM_3
|
||||||
|
|
||||||
// Display
|
// Display
|
||||||
#define HAS_DISPLAY
|
#define HAS_DISPLAY
|
||||||
|
|||||||
@@ -14,6 +14,6 @@
|
|||||||
#define RADIO_RXEN 6
|
#define RADIO_RXEN 6
|
||||||
#define RADIO_TXEN 7
|
#define RADIO_TXEN 7
|
||||||
#define RADIO_WAKEUP_PIN RADIO_DIO1_PIN
|
#define RADIO_WAKEUP_PIN RADIO_DIO1_PIN
|
||||||
#define GPIO_WAKEUP_PIN RADIO_DIO1_PIN
|
#define GPIO_WAKEUP_PIN GPIO_NUM_2
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
@@ -14,6 +14,6 @@
|
|||||||
#define RADIO_RXEN 6
|
#define RADIO_RXEN 6
|
||||||
#define RADIO_TXEN 7
|
#define RADIO_TXEN 7
|
||||||
#define RADIO_WAKEUP_PIN RADIO_DIO1_PIN
|
#define RADIO_WAKEUP_PIN RADIO_DIO1_PIN
|
||||||
#define GPIO_WAKEUP_PIN RADIO_DIO1_PIN
|
#define GPIO_WAKEUP_PIN GPIO_NUM_2
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
#define RADIO_DIO1_PIN 3
|
#define RADIO_DIO1_PIN 3
|
||||||
#define RADIO_BUSY_PIN 4
|
#define RADIO_BUSY_PIN 4
|
||||||
#define RADIO_WAKEUP_PIN RADIO_DIO1_PIN
|
#define RADIO_WAKEUP_PIN RADIO_DIO1_PIN
|
||||||
#define GPIO_WAKEUP_PIN RADIO_DIO1_PIN
|
#define GPIO_WAKEUP_PIN GPIO_NUM_3
|
||||||
|
|
||||||
// Aditional Config
|
// Aditional Config
|
||||||
#define BATTERY_PIN 1
|
#define BATTERY_PIN 1
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
[env:heltec_ht-ct62]
|
[env:heltec_ht-ct62]
|
||||||
board = heltec_wireless_stick_lite
|
board = esp32-c3-devkitm-1
|
||||||
board_build.mcu = esp32c3
|
board_build.mcu = esp32c3
|
||||||
build_flags =
|
build_flags =
|
||||||
${common.build_flags}
|
${common.build_flags}
|
||||||
|
|||||||
Reference in New Issue
Block a user