mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-02-05 07:14:30 +01:00
digiMode self hearing fix
This commit is contained in:
parent
54bbede56c
commit
6bd6cce82b
|
|
@ -60,10 +60,10 @@ namespace DIGI_Utils {
|
|||
if (packet.substring(0, 3) == "\x3c\xff\x01") {
|
||||
Serial.println(" ---> APRS LoRa Packet");
|
||||
Sender = packet.substring(3,packet.indexOf(">"));
|
||||
STATION_Utils::updateLastHeard(Sender);
|
||||
//STATION_Utils::updatePacketBuffer(packet);
|
||||
Utils::typeOfPacket(packet.substring(3), "Digi");
|
||||
if (Sender != Config.callsign) {
|
||||
if (Sender != Config.callsign) {
|
||||
STATION_Utils::updateLastHeard(Sender);
|
||||
//STATION_Utils::updatePacketBuffer(packet);
|
||||
Utils::typeOfPacket(packet.substring(3), "Digi");
|
||||
AddresseeAndMessage = packet.substring(packet.indexOf("::")+2);
|
||||
Addressee = AddresseeAndMessage.substring(0,AddresseeAndMessage.indexOf(":"));
|
||||
Addressee.trim();
|
||||
|
|
@ -81,9 +81,9 @@ namespace DIGI_Utils {
|
|||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
} /*else {
|
||||
Serial.println(" ---> LoRa Packet Ignored (first 3 bytes or NOGATE)\n");
|
||||
}
|
||||
}*/
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue