From 7949f0d11aa427bc0ffe3b0722d2390e14d62cc7 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 31 Oct 2015 19:09:28 +1300 Subject: Improve Watch decoder pattern --- src/org/traccar/protocol/WatchProtocolDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/org/traccar') 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 -- cgit v1.2.3