typeOfPacket fix
This commit is contained in:
parent
d7c1c70f10
commit
5e0294fb14
|
|
@ -160,7 +160,7 @@ namespace APRS_IS_Utils {
|
|||
Sender = packet.substring(3, packet.indexOf(">"));
|
||||
if (Sender != Config.callsign) { // avoid listening yourself by digirepeating
|
||||
STATION_Utils::updateLastHeard(Sender);
|
||||
Utils::typeOfPacket(packet, "LoRa-APRS");
|
||||
Utils::typeOfPacket(packet.substring(3), "LoRa-APRS");
|
||||
AddresseeAndMessage = packet.substring(packet.indexOf("::") + 2);
|
||||
Addressee = AddresseeAndMessage.substring(0, AddresseeAndMessage.indexOf(":"));
|
||||
Addressee.trim();
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ namespace DIGI_Utils {
|
|||
Sender = packet.substring(3, packet.indexOf(">"));
|
||||
if (Sender != Config.callsign) {
|
||||
STATION_Utils::updateLastHeard(Sender);
|
||||
Utils::typeOfPacket(packet, "Digi");
|
||||
Utils::typeOfPacket(packet.substring(3), "Digi");
|
||||
AddresseeAndMessage = packet.substring(packet.indexOf("::") + 2);
|
||||
Addressee = AddresseeAndMessage.substring(0, AddresseeAndMessage.indexOf(":"));
|
||||
Addressee.trim();
|
||||
|
|
|
|||
Loading…
Reference in New Issue