From 102b17df3abd6126404089384e214bda28b604fe Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 26 Aug 2016 03:28:05 +1200 Subject: Improve GpsGate decoder pattern --- src/org/traccar/protocol/GpsGateProtocolDecoder.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/org/traccar') 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 -- cgit v1.2.3