From 7c8e00eba940fdbcde3ea2b60e6094caa9098b99 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 25 Jul 2018 05:44:23 +1200 Subject: Improve Atrack decoder pattern --- src/org/traccar/protocol/AtrackProtocolDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/org/traccar/protocol/AtrackProtocolDecoder.java b/src/org/traccar/protocol/AtrackProtocolDecoder.java index ebccfec94..7755bfa25 100644 --- a/src/org/traccar/protocol/AtrackProtocolDecoder.java +++ b/src/org/traccar/protocol/AtrackProtocolDecoder.java @@ -274,7 +274,7 @@ public class AtrackProtocolDecoder extends BaseProtocolDecoder { .number("(-?d+),") // latitude .number("(d+),") // course .number("(d+),") // report id - .number("(d+.d+),") // odometer + .number("(d+.?d*),") // odometer .number("(d+),") // hdop .number("(d+),") // inputs .number("(d+),") // speed -- cgit v1.2.3