From b8d2578c5448bc760a91c80793ff4141a974324f Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 8 Mar 2015 10:39:40 +1300 Subject: Improve H02 regex pattern --- src/org/traccar/protocol/H02ProtocolDecoder.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/org/traccar/protocol') diff --git a/src/org/traccar/protocol/H02ProtocolDecoder.java b/src/org/traccar/protocol/H02ProtocolDecoder.java index c67eb6053..84ddaf895 100644 --- a/src/org/traccar/protocol/H02ProtocolDecoder.java +++ b/src/org/traccar/protocol/H02ProtocolDecoder.java @@ -116,9 +116,9 @@ public class H02ProtocolDecoder extends BaseProtocolDecoder { ".*" + "(\\d{2})(\\d{2})(\\d{2})," + // Time (HHMMSS) "([AV])," + // Validity - "(\\d+)(\\d{2}.\\d+)," + // Latitude (DDMM.MMMM) + "-?(\\d+)-?(\\d{2}.\\d+)," + // Latitude (DDMM.MMMM) "([NS])," + - "(\\d+)(\\d{2}.\\d+)," + // Longitude (DDMM.MMMM) + "-?(\\d+)-?(\\d{2}.\\d+)," + // Longitude (DDMM.MMMM) "([EW])," + "(\\d+.?\\d*)," + // Speed "(\\d+.?\\d*)?," + // Course -- cgit v1.2.3