aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Bergh <berghdavid@hotmail.com>2023-09-12 07:26:18 +0200
committerDavid Bergh <berghdavid@hotmail.com>2023-09-12 07:26:18 +0200
commit2b2eb27834968addc35ec3e4be1be88a0f8806ac (patch)
tree3b9c1829d0c9dce5750dbd2b7e256ac258197086
parent33f0df11d027a48be2c3c1030198855311e13d00 (diff)
downloadtrackermap-server-2b2eb27834968addc35ec3e4be1be88a0f8806ac.tar.gz
trackermap-server-2b2eb27834968addc35ec3e4be1be88a0f8806ac.tar.bz2
trackermap-server-2b2eb27834968addc35ec3e4be1be88a0f8806ac.zip
Skip network
-rw-r--r--src/main/java/org/traccar/protocol/MeitrackProtocolDecoder.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/main/java/org/traccar/protocol/MeitrackProtocolDecoder.java b/src/main/java/org/traccar/protocol/MeitrackProtocolDecoder.java
index 0b17b3ee7..2e786070f 100644
--- a/src/main/java/org/traccar/protocol/MeitrackProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/MeitrackProtocolDecoder.java
@@ -574,10 +574,7 @@ public class MeitrackProtocolDecoder extends BaseProtocolDecoder {
position.set(Position.PREFIX_TEMP + (id - 0x2A), buf.readShortLE() * 0.01);
break;
case 0x4B:
- position.set("networkVersion", buf.readUnsignedByte());
- position.set("networkType", buf.readUnsignedByte());
- int networkDescLen = buf.readUnsignedByte();
- network.setRadioType(buf.readSlice(networkDescLen).toString(StandardCharsets.US_ASCII));
+ buf.skipBytes(length); // network information
break;
case 0xFE31:
buf.readUnsignedByte(); // alarm protocol