aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-05-10 15:31:34 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-05-10 15:31:34 +1200
commit96f18a993322a8cac19a83ce806ee1c77eb723e3 (patch)
treeecc3bb4df13b6fecff355d5b4bfad3d680fe2862 /src/org/traccar/protocol
parentf22357a774d86864ef212bfa2fa086eca99ec0a0 (diff)
downloadtraccar-server-96f18a993322a8cac19a83ce806ee1c77eb723e3.tar.gz
traccar-server-96f18a993322a8cac19a83ce806ee1c77eb723e3.tar.bz2
traccar-server-96f18a993322a8cac19a83ce806ee1c77eb723e3.zip
Add new OBD field to GL200
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r--src/org/traccar/protocol/Gl200ProtocolDecoder.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/Gl200ProtocolDecoder.java b/src/org/traccar/protocol/Gl200ProtocolDecoder.java
index f1211f279..4e78ff6ed 100644
--- a/src/org/traccar/protocol/Gl200ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Gl200ProtocolDecoder.java
@@ -120,6 +120,7 @@ public class Gl200ProtocolDecoder extends BaseProtocolDecoder {
.number("(d{1,3})?,") // throttle
.number("(?:d{1,3})?,") // engine load
.number("(d{1,3})?,") // fuel level
+ .expression("(?:[0-9A],)?") // obd protocol
.number("(d+),") // odometer
.expression(PATTERN_LOCATION.pattern())
.number("(d{1,7}.d)?,") // odometer