diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-09-18 19:06:31 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-09-18 19:06:31 +1200 |
commit | e6e6afd89be2f64488e61cd4c1391c898e8f6cc3 (patch) | |
tree | 5b4d69f2abcc3cc20c4645ffbe278ec103065e2e /src/org/traccar/protocol | |
parent | a3a1990d95b3162ecd404610d176e2cb0bccde3b (diff) | |
download | traccar-server-e6e6afd89be2f64488e61cd4c1391c898e8f6cc3.tar.gz traccar-server-e6e6afd89be2f64488e61cd4c1391c898e8f6cc3.tar.bz2 traccar-server-e6e6afd89be2f64488e61cd4c1391c898e8f6cc3.zip |
Handle two digit longitude value
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r-- | src/org/traccar/protocol/T55ProtocolDecoder.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/org/traccar/protocol/T55ProtocolDecoder.java b/src/org/traccar/protocol/T55ProtocolDecoder.java index 1376ca123..2771d1d8e 100644 --- a/src/org/traccar/protocol/T55ProtocolDecoder.java +++ b/src/org/traccar/protocol/T55ProtocolDecoder.java @@ -20,10 +20,7 @@ import java.util.Calendar; import java.util.TimeZone; import java.util.regex.Matcher; import java.util.regex.Pattern; - import org.jboss.netty.channel.Channel; -import org.jboss.netty.channel.ChannelHandlerContext; - import org.traccar.BaseProtocolDecoder; import org.traccar.model.Event; import org.traccar.model.Position; @@ -40,7 +37,7 @@ public class T55ProtocolDecoder extends BaseProtocolDecoder { "([AV])," + // Validity "(\\d{2})(\\d{2}\\.\\d+)," + // Latitude (DDMM.MMMM) "([NS])," + - "(\\d{3})(\\d{2}\\.\\d+)," + // Longitude (DDDMM.MMMM) + "(\\d{2,3})(\\d{2}\\.\\d+)," + // Longitude (DDDMM.MMMM) "([EW])," + "(\\d+\\.?\\d*)?," + // Speed "(\\d+\\.?\\d*)?," + // Course |