diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-07-27 01:32:21 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-07-27 01:32:21 +1200 |
commit | 194263a9dc8040ebcbf62c80733aca5097eb3e36 (patch) | |
tree | 9168863b0ff76779e251bf496072bd1deb1fddc2 /src | |
parent | 234223a179d3f5e390cf8a649158676f8c349e5c (diff) | |
download | traccar-server-194263a9dc8040ebcbf62c80733aca5097eb3e36.tar.gz traccar-server-194263a9dc8040ebcbf62c80733aca5097eb3e36.tar.bz2 traccar-server-194263a9dc8040ebcbf62c80733aca5097eb3e36.zip |
Extend VT200 protocol decoder
Diffstat (limited to 'src')
-rw-r--r-- | src/org/traccar/protocol/Vt200ProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/Vt200ProtocolDecoder.java b/src/org/traccar/protocol/Vt200ProtocolDecoder.java index b9af11b43..f9683f12f 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) { + if (type == 0x2084 || type == 0x2082) { Position position = new Position(); position.setProtocol(getProtocolName()); |