aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-07-27 01:32:21 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-07-27 01:32:21 +1200
commit194263a9dc8040ebcbf62c80733aca5097eb3e36 (patch)
tree9168863b0ff76779e251bf496072bd1deb1fddc2 /src
parent234223a179d3f5e390cf8a649158676f8c349e5c (diff)
downloadtrackermap-server-194263a9dc8040ebcbf62c80733aca5097eb3e36.tar.gz
trackermap-server-194263a9dc8040ebcbf62c80733aca5097eb3e36.tar.bz2
trackermap-server-194263a9dc8040ebcbf62c80733aca5097eb3e36.zip
Extend VT200 protocol decoder
Diffstat (limited to 'src')
-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 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());