From e331573c0df7467fd36ae3eba3c259ed9b1d9253 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Thu, 13 Sep 2018 15:11:04 +1200 Subject: Fix Coban 306A OBD decoding --- src/org/traccar/protocol/Gps103ProtocolDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/org/traccar/protocol') 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 -- cgit v1.2.3