diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2019-11-21 22:58:25 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2019-11-21 22:58:25 -0800 |
commit | 3392dc3ee2cfb08542d7c2bf00e01305bcefc28c (patch) | |
tree | 43a54cf3c4b1840cf8dfe0ee98560bc934b5a2cb /src/main/java/org/traccar/protocol/H02ProtocolDecoder.java | |
parent | a87b9f3d9ba75b12d70a1d62640edcf64bd59072 (diff) | |
download | trackermap-server-3392dc3ee2cfb08542d7c2bf00e01305bcefc28c.tar.gz trackermap-server-3392dc3ee2cfb08542d7c2bf00e01305bcefc28c.tar.bz2 trackermap-server-3392dc3ee2cfb08542d7c2bf00e01305bcefc28c.zip |
Handle spaces before speed
Diffstat (limited to 'src/main/java/org/traccar/protocol/H02ProtocolDecoder.java')
-rw-r--r-- | src/main/java/org/traccar/protocol/H02ProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/H02ProtocolDecoder.java b/src/main/java/org/traccar/protocol/H02ProtocolDecoder.java index 137689a67..47e5aede0 100644 --- a/src/main/java/org/traccar/protocol/H02ProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/H02ProtocolDecoder.java @@ -185,7 +185,7 @@ public class H02ProtocolDecoder extends BaseProtocolDecoder { .number("(d+)(dd.d+),") // longitude .groupEnd() .expression("([EW]),") - .number("(d+.?d*),") // speed + .number(" *(d+.?d*),") // speed .number("(d+.?d*)?,") // course .number("(?:d+,)?") // battery .number("(?:(dd)(dd)(dd))?") // date (ddmmyy) |