aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/Tk102ProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-04-30 09:35:27 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-04-30 09:35:27 +1200
commite2e62cdab540c7b5c5b7614a7b80707a4ff72e1d (patch)
tree0512c9d1c6709ca7a415b38574233487a209aa38 /src/org/traccar/protocol/Tk102ProtocolDecoder.java
parent8e6e361eb0e1d4c92b99fa20a70f0fa7b296a466 (diff)
downloadtrackermap-server-e2e62cdab540c7b5c5b7614a7b80707a4ff72e1d.tar.gz
trackermap-server-e2e62cdab540c7b5c5b7614a7b80707a4ff72e1d.tar.bz2
trackermap-server-e2e62cdab540c7b5c5b7614a7b80707a4ff72e1d.zip
Fix TK102 regex pattern (fix #1184)
Diffstat (limited to 'src/org/traccar/protocol/Tk102ProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/Tk102ProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/Tk102ProtocolDecoder.java b/src/org/traccar/protocol/Tk102ProtocolDecoder.java
index c1dcd9bd4..9eef7cc91 100644
--- a/src/org/traccar/protocol/Tk102ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Tk102ProtocolDecoder.java
@@ -42,7 +42,7 @@ public class Tk102ProtocolDecoder extends BaseProtocolDecoder {
"([EW])" +
"(\\d{3}\\.\\d{3})" + // Speed
"(\\d{2})(\\d{2})(\\d{2})" + // Date (DDMMYY)
- "\\d+\\)");
+ "\\d+.*\\)\\]?");
@Override
protected Object decode(