aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-05-27 18:32:47 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2013-05-27 18:32:47 +1200
commit76ab97612a13e6d89b45596372fb311a3dafa826 (patch)
treea835218410dfe10fe33aacae4e4f4dc99c27fe56 /src
parent80941e9f1e63e0c4b932408527ed94a246906f4f (diff)
downloadtraccar-server-76ab97612a13e6d89b45596372fb311a3dafa826.tar.gz
traccar-server-76ab97612a13e6d89b45596372fb311a3dafa826.tar.bz2
traccar-server-76ab97612a13e6d89b45596372fb311a3dafa826.zip
Fix tlt2h protocol decoder (fix #273)
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/protocol/Tlt2hProtocolDecoder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/Tlt2hProtocolDecoder.java b/src/org/traccar/protocol/Tlt2hProtocolDecoder.java
index e38b3ab7b..99101aa34 100644
--- a/src/org/traccar/protocol/Tlt2hProtocolDecoder.java
+++ b/src/org/traccar/protocol/Tlt2hProtocolDecoder.java
@@ -40,9 +40,9 @@ public class Tlt2hProtocolDecoder extends BaseProtocolDecoder {
"\\$GPRMC," +
"(\\d{2})(\\d{2})(\\d{2})\\.(\\d+)," + // Time (HHMMSS.SSS)
"([AV])," + // Validity
- "(\\d{2})(\\d{2}\\.\\d+)," + // Latitude (DDMM.MMMM)
+ "(\\d+)(\\d{2}\\.\\d+)," + // Latitude (DDMM.MMMM)
"([NS])," +
- "(\\d{3})(\\d{2}\\.\\d+)," + // Longitude (DDDMM.MMMM)
+ "(\\d+)(\\d{2}\\.\\d+)," + // Longitude (DDDMM.MMMM)
"([EW])," +
"(\\d+\\.\\d{2})?," + // Speed
"(\\d+\\.\\d{2})?," + // Course