diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-03-08 10:39:40 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-03-08 10:39:40 +1300 |
commit | b8d2578c5448bc760a91c80793ff4141a974324f (patch) | |
tree | 6cfe4a9908e3863741113754fd0a20c16bc03090 /src | |
parent | abcadef0f6465743e85aa011f39367fddbe7d8e5 (diff) | |
download | traccar-server-b8d2578c5448bc760a91c80793ff4141a974324f.tar.gz traccar-server-b8d2578c5448bc760a91c80793ff4141a974324f.tar.bz2 traccar-server-b8d2578c5448bc760a91c80793ff4141a974324f.zip |
Improve H02 regex pattern
Diffstat (limited to 'src')
-rw-r--r-- | src/org/traccar/protocol/H02ProtocolDecoder.java | 4 |
1 files changed, 2 insertions, 2 deletions
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 |