diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-08-26 03:28:05 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-08-26 03:28:06 +1200 |
commit | 102b17df3abd6126404089384e214bda28b604fe (patch) | |
tree | 6e228237840ac6f049aad5610f5433374232228e /src/org/traccar/protocol | |
parent | ce60f22e4fde1cd0645371291b2bf7016856f78b (diff) | |
download | traccar-server-102b17df3abd6126404089384e214bda28b604fe.tar.gz traccar-server-102b17df3abd6126404089384e214bda28b604fe.tar.bz2 traccar-server-102b17df3abd6126404089384e214bda28b604fe.zip |
Improve GpsGate decoder pattern
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r-- | src/org/traccar/protocol/GpsGateProtocolDecoder.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/GpsGateProtocolDecoder.java b/src/org/traccar/protocol/GpsGateProtocolDecoder.java index afc17a9f7..ac859b592 100644 --- a/src/org/traccar/protocol/GpsGateProtocolDecoder.java +++ b/src/org/traccar/protocol/GpsGateProtocolDecoder.java @@ -52,9 +52,9 @@ public class GpsGateProtocolDecoder extends BaseProtocolDecoder { .number("(d+),") // imei .expression("[^,]*,") // command .expression("[^,]*,") - .number("(dd)(dd.d+),") // latitude + .number("(d+)(dd.d+),") // latitude .expression("([NS]),") - .number("(ddd)(dd.d+),") // longitude + .number("(d+)(dd.d+),") // longitude .expression("([EW]),") .number("(d+.?d*),") // altitude .number("(d+.?d*),") // speed |