aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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