aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2024-06-24 06:40:28 -0700
committerAnton Tananaev <anton@traccar.org>2024-06-24 06:40:28 -0700
commite9b1392ddc72bd8d5adcde69012e90cb4004c930 (patch)
tree29ba3304134d29aac20d637a8a178e6c84fc85fd /src/main/java/org
parentd365fa63940976ec53c3b94842c3fa6ad45af242 (diff)
downloadtrackermap-server-e9b1392ddc72bd8d5adcde69012e90cb4004c930.tar.gz
trackermap-server-e9b1392ddc72bd8d5adcde69012e90cb4004c930.tar.bz2
trackermap-server-e9b1392ddc72bd8d5adcde69012e90cb4004c930.zip
Change GT06 RFID decoding
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/traccar/protocol/Gt06ProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/Gt06ProtocolDecoder.java b/src/main/java/org/traccar/protocol/Gt06ProtocolDecoder.java
index d088077e2..eb8ba2375 100644
--- a/src/main/java/org/traccar/protocol/Gt06ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Gt06ProtocolDecoder.java
@@ -960,8 +960,8 @@ public class Gt06ProtocolDecoder extends BaseProtocolDecoder {
}
if (type == MSG_GPS_LBS_RFID) {
- buf.readUnsignedByte(); // validity
position.set(Position.KEY_DRIVER_UNIQUE_ID, ByteBufUtil.hexDump(buf.readSlice(8)));
+ buf.readUnsignedByte(); // validity
}
if (buf.readableBytes() == 3 + 6 || buf.readableBytes() == 3 + 4 + 6) {