aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2012-11-09 22:34:50 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2012-11-09 22:34:50 +1300
commit022ecd5d0b97528b5d14c61b684a08aba0f03456 (patch)
tree350eeaaca4b483730c8562549f1ad468fbff4760 /src
parent17e10e6cee82401527d5de75a7b44efa3c73bab0 (diff)
downloadtraccar-server-022ecd5d0b97528b5d14c61b684a08aba0f03456.tar.gz
traccar-server-022ecd5d0b97528b5d14c61b684a08aba0f03456.tar.bz2
traccar-server-022ecd5d0b97528b5d14c61b684a08aba0f03456.zip
Added demo track
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/protocol/T55ProtocolDecoder.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/org/traccar/protocol/T55ProtocolDecoder.java b/src/org/traccar/protocol/T55ProtocolDecoder.java
index d531f1adf..116343c5a 100644
--- a/src/org/traccar/protocol/T55ProtocolDecoder.java
+++ b/src/org/traccar/protocol/T55ProtocolDecoder.java
@@ -47,11 +47,11 @@ public class T55ProtocolDecoder extends GenericProtocolDecoder {
*/
static private Pattern pattern = Pattern.compile(
"\\$GPRMC," +
- "(\\d{2})(\\d{2})(\\d{2})\\.(\\d{3})," + // Time (HHMMSS.SSS)
+ "(\\d{2})(\\d{2})(\\d{2})\\.(\\d+)," + // Time (HHMMSS.SSS)
"([AV])," + // Validity
- "(\\d{2})(\\d{2}\\.\\d{4})," + // Latitude (DDMM.MMMM)
+ "(\\d{2})(\\d{2}\\.\\d+)," + // Latitude (DDMM.MMMM)
"([NS])," +
- "(\\d{3})(\\d{2}\\.\\d{4})," + // Longitude (DDDMM.MMMM)
+ "(\\d{3})(\\d{2}\\.\\d+)," + // Longitude (DDDMM.MMMM)
"([EW])," +
"(\\d+\\.\\d{2})?," + // Speed
"(\\d+\\.\\d{2})?," + // Course