diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-07-25 05:44:23 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-07-25 05:44:23 +1200 |
commit | 7c8e00eba940fdbcde3ea2b60e6094caa9098b99 (patch) | |
tree | e18540b21d4e62b4ac73bb60eb32d11b76b30366 /src/org/traccar/protocol/AtrackProtocolDecoder.java | |
parent | 6af986e2bd05d6376c7ad25a4621f6466bff1b46 (diff) | |
download | trackermap-server-7c8e00eba940fdbcde3ea2b60e6094caa9098b99.tar.gz trackermap-server-7c8e00eba940fdbcde3ea2b60e6094caa9098b99.tar.bz2 trackermap-server-7c8e00eba940fdbcde3ea2b60e6094caa9098b99.zip |
Improve Atrack decoder pattern
Diffstat (limited to 'src/org/traccar/protocol/AtrackProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/AtrackProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
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 |