aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-09-13 15:11:04 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-09-13 15:11:04 +1200
commite331573c0df7467fd36ae3eba3c259ed9b1d9253 (patch)
treeec49711dc3d023118e5aa45e7643383b86cdae2b /src/org/traccar
parent97fef56fd819996b8b35cb0ca9c49d11bbec635f (diff)
downloadtrackermap-server-e331573c0df7467fd36ae3eba3c259ed9b1d9253.tar.gz
trackermap-server-e331573c0df7467fd36ae3eba3c259ed9b1d9253.tar.bz2
trackermap-server-e331573c0df7467fd36ae3eba3c259ed9b1d9253.zip
Fix Coban 306A OBD decoding
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/protocol/Gps103ProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/Gps103ProtocolDecoder.java b/src/org/traccar/protocol/Gps103ProtocolDecoder.java
index 2b797d05a..3c8cbbe87 100644
--- a/src/org/traccar/protocol/Gps103ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Gps103ProtocolDecoder.java
@@ -85,7 +85,7 @@ public class Gps103ProtocolDecoder extends BaseProtocolDecoder {
.expression("OBD,") // type
.number("(dd)(dd)(dd)") // date (yymmdd)
.number("(dd)(dd)(dd),") // time (hhmmss)
- .number("(d+),") // odometer
+ .number("(d+)?,") // odometer
.number("(d+.d+)?,") // fuel instant
.number("(d+.d+)?,") // fuel average
.number("(d+)?,") // hours