diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-05-10 15:31:34 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-05-10 15:31:34 +1200 |
commit | 96f18a993322a8cac19a83ce806ee1c77eb723e3 (patch) | |
tree | ecc3bb4df13b6fecff355d5b4bfad3d680fe2862 /src | |
parent | f22357a774d86864ef212bfa2fa086eca99ec0a0 (diff) | |
download | trackermap-server-96f18a993322a8cac19a83ce806ee1c77eb723e3.tar.gz trackermap-server-96f18a993322a8cac19a83ce806ee1c77eb723e3.tar.bz2 trackermap-server-96f18a993322a8cac19a83ce806ee1c77eb723e3.zip |
Add new OBD field to GL200
Diffstat (limited to 'src')
-rw-r--r-- | src/org/traccar/protocol/Gl200ProtocolDecoder.java | 1 |
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 |