aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/TytanProtocolDecoder.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/TytanProtocolDecoder.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/TytanProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/TytanProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/TytanProtocolDecoder.java b/src/org/traccar/protocol/TytanProtocolDecoder.java
index 030fbce78..0ae669784 100644
--- a/src/org/traccar/protocol/TytanProtocolDecoder.java
+++ b/src/org/traccar/protocol/TytanProtocolDecoder.java
@@ -111,7 +111,7 @@ public class TytanProtocolDecoder extends BaseProtocolDecoder {
position.set(Position.KEY_OBD_ODOMETER, buf.readUnsignedInt() * 5);
break;
case 150:
- position.set("door", buf.readUnsignedByte());
+ position.set(Position.KEY_DOOR, buf.readUnsignedByte());
break;
default:
buf.skipBytes(length);