diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-08-17 14:10:19 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-08-17 14:10:19 +1200 |
commit | 24c04679c356f21d82419d9cb4f2bcd256653132 (patch) | |
tree | a77655000b5dcaa4fd4cdeaa057d2afd9bb527b0 /src | |
parent | a4a40243616cb2d29ca70f61dbca8502d343357a (diff) | |
download | trackermap-server-24c04679c356f21d82419d9cb4f2bcd256653132.tar.gz trackermap-server-24c04679c356f21d82419d9cb4f2bcd256653132.tar.bz2 trackermap-server-24c04679c356f21d82419d9cb4f2bcd256653132.zip |
Improve T55 regex pattern
Diffstat (limited to 'src')
-rw-r--r-- | src/org/traccar/protocol/T55ProtocolDecoder.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/T55ProtocolDecoder.java b/src/org/traccar/protocol/T55ProtocolDecoder.java index 63444ccd4..1376ca123 100644 --- a/src/org/traccar/protocol/T55ProtocolDecoder.java +++ b/src/org/traccar/protocol/T55ProtocolDecoder.java @@ -50,9 +50,9 @@ public class T55ProtocolDecoder extends BaseProtocolDecoder { private static final Pattern patternGPGGA = Pattern.compile( "\\$GPGGA," + "(\\d{2})(\\d{2})(\\d{2})\\.?\\d*," + // Time - "(\\d{2})(\\d{2}\\.\\d+)," + // Latitude + "(\\d+)(\\d{2}\\.\\d+)," + // Latitude "([NS])," + - "(\\d{3})(\\d{2}\\.\\d+)," + // Longitude + "(\\d+)(\\d{2}\\.\\d+)," + // Longitude "([EW])," + ".+"); |