aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/protocol/Gt06ProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-05-28 07:33:34 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-05-28 07:33:34 -0700
commitfeb008442b63e5467b050e3cee3cf90a01dcb462 (patch)
tree71b06df3f7bb21445f2af19713c335be1902bdd9 /src/main/java/org/traccar/protocol/Gt06ProtocolDecoder.java
parent7d07898c52ab0442c78b4d068bf0b3922adc4a70 (diff)
downloadtraccar-server-feb008442b63e5467b050e3cee3cf90a01dcb462.tar.gz
traccar-server-feb008442b63e5467b050e3cee3cf90a01dcb462.tar.bz2
traccar-server-feb008442b63e5467b050e3cee3cf90a01dcb462.zip
Decode additional Atrack parameters
Diffstat (limited to 'src/main/java/org/traccar/protocol/Gt06ProtocolDecoder.java')
-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 4665290c3..d942edbfe 100644
--- a/src/main/java/org/traccar/protocol/Gt06ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Gt06ProtocolDecoder.java
@@ -824,7 +824,7 @@ public class Gt06ProtocolDecoder extends BaseProtocolDecoder {
} else if (subType == 0x0a) {
buf.skipBytes(8); // imei
buf.skipBytes(8); // imsi
- position.set("iccid", ByteBufUtil.hexDump(buf.readSlice(8)));
+ position.set(Position.KEY_ICCID, ByteBufUtil.hexDump(buf.readSlice(8)));
return position;
} else if (subType == 0x0d) {
if (buf.getByte(buf.readerIndex()) != '!') {