aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/Gt06ProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-08-19 12:01:27 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-08-19 12:01:27 +1200
commite90e38d8c5db452adc5ab704a6f9dd84db16ce20 (patch)
treedb58627a43f9d17a659e5c65c02ea26d78d28c82 /src/org/traccar/protocol/Gt06ProtocolDecoder.java
parent8c85694fcbdeb709e7088edb833a1e1a412206f2 (diff)
downloadtrackermap-server-e90e38d8c5db452adc5ab704a6f9dd84db16ce20.tar.gz
trackermap-server-e90e38d8c5db452adc5ab704a6f9dd84db16ce20.tar.bz2
trackermap-server-e90e38d8c5db452adc5ab704a6f9dd84db16ce20.zip
Advanced TK103 attributes
Diffstat (limited to 'src/org/traccar/protocol/Gt06ProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/Gt06ProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/Gt06ProtocolDecoder.java b/src/org/traccar/protocol/Gt06ProtocolDecoder.java
index 186867b9d..4cf4a79eb 100644
--- a/src/org/traccar/protocol/Gt06ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Gt06ProtocolDecoder.java
@@ -531,7 +531,7 @@ public class Gt06ProtocolDecoder extends BaseProtocolDecoder {
} else if (subType == 0x05) {
int flags = buf.readUnsignedByte();
- position.set("door", BitUtil.check(flags, 0));
+ position.set(Position.KEY_DOOR, BitUtil.check(flags, 0));
position.set(Position.PREFIX_IO + 1, BitUtil.check(flags, 2));
return position;