mejora Resolucion

This commit is contained in:
richonguzman
2023-06-17 11:10:44 -04:00
parent 8e49b29b9f
commit 08191ebb04
9 changed files with 72 additions and 125 deletions
+2 -2
View File
@@ -17,7 +17,7 @@ void processPacket(String packet) {
if ((packet.substring(0, 3) == "\x3c\xff\x01") && (packet.indexOf("NOGATE") == -1)) {
Serial.println(" ---> APRS LoRa Packet");
if ((stationMode==3) && (packet.indexOf("WIDE1-1") > 10)) {
Utils::typeOfPacket(packet);
Utils::typeOfPacket(packet, "Digi");
loraPacket = packet.substring(3);
loraPacket.replace("WIDE1-1", Config.callsign + "*");
delay(500);
@@ -25,7 +25,7 @@ void processPacket(String packet) {
display_toggle(true);
lastScreenOn = millis();
} else if (stationMode ==4){
Utils::typeOfPacket(packet);
Utils::typeOfPacket(packet, "Digi");
if (packet.indexOf("WIDE1-1") == -1) {
loraPacket = packet.substring(3,packet.indexOf(":")) + "," + Config.callsign + "*" + packet.substring(packet.indexOf(":"));
} else {