aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2012-08-04 17:11:59 +0400
committerAnton Tananaev <anton.tananaev@gmail.com>2012-08-04 17:11:59 +0400
commit9784127324bee141e8f3740a156a6fd24bd0273b (patch)
tree9a5d98ae48fd2b58e82b07b29b26ea5894f43320 /src
parent4180461322830a37496c184511c6171a6a1609fe (diff)
downloadtraccar-server-9784127324bee141e8f3740a156a6fd24bd0273b.tar.gz
traccar-server-9784127324bee141e8f3740a156a6fd24bd0273b.tar.bz2
traccar-server-9784127324bee141e8f3740a156a6fd24bd0273b.zip
Change pattern (fix #34)
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/protocol/Gps103ProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/Gps103ProtocolDecoder.java b/src/org/traccar/protocol/Gps103ProtocolDecoder.java
index 714a80e49..88a83ef80 100644
--- a/src/org/traccar/protocol/Gps103ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Gps103ProtocolDecoder.java
@@ -45,7 +45,7 @@ public class Gps103ProtocolDecoder extends GenericProtocolDecoder {
"([\\d]+)," + // IMEI
"[^,]+," +
"(\\d{2})(\\d{2})(\\d{2})[\\d]+," + // Date
- "[+]?[\\d]*," +
+ "[^,]*," +
"[FL]," + // F - full / L - low
"([\\d]{2})([\\d]{2})([\\d]{2}).([\\d]{3})," + // Time (HHMMSS.SSS)
"([AV])," + // Validity