diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-31 19:09:28 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-31 19:09:28 +1300 |
commit | 7949f0d11aa427bc0ffe3b0722d2390e14d62cc7 (patch) | |
tree | 75be19e6ddabc04374afa769c20679b4dfabb3f8 /src/org/traccar/protocol | |
parent | a76e8d71083ef44384b541d33bab92eb096902d2 (diff) | |
download | trackermap-server-7949f0d11aa427bc0ffe3b0722d2390e14d62cc7.tar.gz trackermap-server-7949f0d11aa427bc0ffe3b0722d2390e14d62cc7.tar.bz2 trackermap-server-7949f0d11aa427bc0ffe3b0722d2390e14d62cc7.zip |
Improve Watch decoder pattern
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r-- | src/org/traccar/protocol/WatchProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/WatchProtocolDecoder.java b/src/org/traccar/protocol/WatchProtocolDecoder.java index adaa41061..4d71a7f5d 100644 --- a/src/org/traccar/protocol/WatchProtocolDecoder.java +++ b/src/org/traccar/protocol/WatchProtocolDecoder.java @@ -53,7 +53,7 @@ public class WatchProtocolDecoder extends BaseProtocolDecoder { .expression("([EW]),") .number("(d+.d+),") // speed .number("(d+.d+),") // course - .number("(d+),") // altitude + .number("(d+.?d*),") // altitude .number("(d+),") // satellites .number("(d+),") // gsm .number("(d+),") // battery |