aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/Vt200ProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-08-04 00:40:48 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-08-04 00:40:48 +1200
commitf182ae04a9857e13482421957140e1a70af2302b (patch)
treeea209cc15ff571a2e354298b1165cc0da2ba8695 /src/org/traccar/protocol/Vt200ProtocolDecoder.java
parentc6760e2ca84a0118c1439a6cbee0da42ed4a1c92 (diff)
downloadtrackermap-server-f182ae04a9857e13482421957140e1a70af2302b.tar.gz
trackermap-server-f182ae04a9857e13482421957140e1a70af2302b.tar.bz2
trackermap-server-f182ae04a9857e13482421957140e1a70af2302b.zip
Improve VT400 protocol decoder
Diffstat (limited to 'src/org/traccar/protocol/Vt200ProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/Vt200ProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/Vt200ProtocolDecoder.java b/src/org/traccar/protocol/Vt200ProtocolDecoder.java
index f9683f12f..111c29313 100644
--- a/src/org/traccar/protocol/Vt200ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Vt200ProtocolDecoder.java
@@ -57,7 +57,7 @@ public class Vt200ProtocolDecoder extends BaseProtocolDecoder {
int type = buf.readUnsignedShort();
buf.readUnsignedShort(); // length
- if (type == 0x2084 || type == 0x2082) {
+ if (type == 0x2086 || type == 0x2084 || type == 0x2082) {
Position position = new Position();
position.setProtocol(getProtocolName());