From 32ef234d143057b7f1e785c38073c23e8ca1e108 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Tue, 17 Jun 2014 20:57:41 +1200 Subject: Fix GpsGate decoder --- src/org/traccar/protocol/GpsGateProtocolDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/org/traccar/protocol/GpsGateProtocolDecoder.java b/src/org/traccar/protocol/GpsGateProtocolDecoder.java index 2ed7b5a19..268f9ea8a 100644 --- a/src/org/traccar/protocol/GpsGateProtocolDecoder.java +++ b/src/org/traccar/protocol/GpsGateProtocolDecoder.java @@ -41,7 +41,7 @@ public class GpsGateProtocolDecoder extends BaseProtocolDecoder { */ private static final Pattern pattern = Pattern.compile( "\\$GPRMC," + - "(\\d{2})(\\d{2})(\\d{2})\\.(\\d+)," + // Time (HHMMSS.SSS) + "(\\d{2})(\\d{2})(\\d{2})\\.?(\\d+)?," + // Time (HHMMSS.SSS) "([AV])," + // Validity "(\\d{2})(\\d{2}\\.\\d+)," + // Latitude (DDMM.MMMM) "([NS])," + -- cgit v1.2.3