aboutsummaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2010-12-20 10:02:58 +0000
committerAnton Tananaev <anton.tananaev@gmail.com>2010-12-20 10:02:58 +0000
commitcdd6d038c5adca06db989a3b6fe8bd3fd36fe9ed (patch)
tree6922ea5c3efb889f54dc949550e8435d056dfb81 /src/net
parentf60fe194659614fcb65339fc1772308f7ced5126 (diff)
downloadtrackermap-server-cdd6d038c5adca06db989a3b6fe8bd3fd36fe9ed.tar.gz
trackermap-server-cdd6d038c5adca06db989a3b6fe8bd3fd36fe9ed.tar.bz2
trackermap-server-cdd6d038c5adca06db989a3b6fe8bd3fd36fe9ed.zip
Diffstat (limited to 'src/net')
-rw-r--r--src/net/sourceforge/opentracking/protocol/gps103/Gps103ProtocolDecoder.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/sourceforge/opentracking/protocol/gps103/Gps103ProtocolDecoder.java b/src/net/sourceforge/opentracking/protocol/gps103/Gps103ProtocolDecoder.java
index 26637f3f1..63e904600 100644
--- a/src/net/sourceforge/opentracking/protocol/gps103/Gps103ProtocolDecoder.java
+++ b/src/net/sourceforge/opentracking/protocol/gps103/Gps103ProtocolDecoder.java
@@ -58,7 +58,8 @@ public class Gps103ProtocolDecoder extends OneToOneDecoder {
"([\\d]+)," + // IMEI
"[^,]+," +
"[\\d]+," +
- ",[FL]," + // F - full / L - low
+ "[\\d]*," +
+ "[FL]," + // F - full / L - low
"([\\d]{2})([\\d]{2})([\\d]{2}).([\\d]{3})," + // Time (HHMMSS.SSS)
"([AV])," + // Validity
"([\\d]{2})([\\d]{2}.[\\d]{4})," + // Latitude (DDMM.MMMM)