mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-04-05 06:26:46 +00:00
testing Mode5 return1
This commit is contained in:
parent
0921d01340
commit
adf4c1fcb8
5 changed files with 54 additions and 48 deletions
|
|
@ -34,6 +34,7 @@ extern uint32_t lastWiFiCheck;
|
|||
extern bool WiFiConnect;
|
||||
extern bool WiFiConnected;
|
||||
extern int wxModuleType;
|
||||
extern bool backUpDigiMode;
|
||||
|
||||
bool statusAfterBoot = true;
|
||||
bool beaconUpdate = true;
|
||||
|
|
@ -63,6 +64,8 @@ namespace Utils {
|
|||
String getLocalIP() {
|
||||
if (!WiFiConnected) {
|
||||
return "IP : 192.168.4.1";
|
||||
} else if (backUpDigiMode) {
|
||||
return "- BackUp Digi Mode -";
|
||||
} else {
|
||||
return "IP : " + String(WiFi.localIP()[0]) + "." + String(WiFi.localIP()[1]) + "." + String(WiFi.localIP()[2]) + "." + String(WiFi.localIP()[3]);
|
||||
}
|
||||
|
|
@ -136,7 +139,7 @@ namespace Utils {
|
|||
sixthLine = " (Ext V=" + externalVoltage;
|
||||
}
|
||||
|
||||
if (Config.aprs_is.active && Config.beacon.sendViaAPRSIS) {
|
||||
if (Config.aprs_is.active && Config.beacon.sendViaAPRSIS && !backUpDigiMode) {
|
||||
show_display(firstLine, secondLine, thirdLine, fourthLine, fifthLine, sixthLine, "SENDING IGATE BEACON", 0);
|
||||
seventhLine = " listening...";
|
||||
#ifdef ESP32_DIY_LoRa_A7670
|
||||
|
|
@ -146,7 +149,7 @@ namespace Utils {
|
|||
#endif
|
||||
}
|
||||
|
||||
if (Config.beacon.sendViaRF) {
|
||||
if (Config.beacon.sendViaRF || backUpDigiMode) {
|
||||
show_display(firstLine, secondLine, thirdLine, fourthLine, fifthLine, sixthLine, "SENDING DIGI BEACON", 0);
|
||||
seventhLine = " listening...";
|
||||
STATION_Utils::addToOutputPacketBuffer(secondaryBeaconPacket);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue