diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-08-30 21:22:25 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-08-30 21:22:25 +1200 |
commit | b372786bc73aa3f3f89b3a321585bd95c81d0031 (patch) | |
tree | 173177fc46e5433c9cb3daec59d8eb75fbdf42ba /src | |
parent | 8a866049c73636f6f25ff59550da8c5445e7c8fc (diff) | |
download | traccar-server-b372786bc73aa3f3f89b3a321585bd95c81d0031.tar.gz traccar-server-b372786bc73aa3f3f89b3a321585bd95c81d0031.tar.bz2 traccar-server-b372786bc73aa3f3f89b3a321585bd95c81d0031.zip |
More Megastek decoder improvements
Diffstat (limited to 'src')
-rw-r--r-- | src/org/traccar/protocol/MegastekProtocolDecoder.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/org/traccar/protocol/MegastekProtocolDecoder.java b/src/org/traccar/protocol/MegastekProtocolDecoder.java index 81349ce3e..a330947b1 100644 --- a/src/org/traccar/protocol/MegastekProtocolDecoder.java +++ b/src/org/traccar/protocol/MegastekProtocolDecoder.java @@ -241,9 +241,9 @@ public class MegastekProtocolDecoder extends BaseProtocolDecoder { .number("(dd),") // satellites .number("dd,") .number("(d+.d+),") // hdop - .number("(d+.d+),") // speed - .number("(d+.d+),") // course - .number("(d+.d+),") // altitude + .number("(d+.d+)?,") // speed + .number("(d+.d+)?,") // course + .number("(-?d+.d+),") // altitude .number("(d+.d+)?,") // odometer .number("(d+),") // mcc .number("(d+),") // mnc |