aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-01-31 12:30:22 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-01-31 12:30:22 +1300
commit9c44e3140ed8ae00c9459347ae6f2819affe149c (patch)
treecb9c85c26aca56070d8c9766b1e2b2a0b2139f8a /src/org/traccar/protocol
parent0ee8100a5535f2d44802919a2a7bb3cec1e547af (diff)
downloadtrackermap-server-9c44e3140ed8ae00c9459347ae6f2819affe149c.tar.gz
trackermap-server-9c44e3140ed8ae00c9459347ae6f2819affe149c.tar.bz2
trackermap-server-9c44e3140ed8ae00c9459347ae6f2819affe149c.zip
Handle login message (fix #1035)
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r--src/org/traccar/protocol/Xt013ProtocolDecoder.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/Xt013ProtocolDecoder.java b/src/org/traccar/protocol/Xt013ProtocolDecoder.java
index 493955195..85048a93f 100644
--- a/src/org/traccar/protocol/Xt013ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Xt013ProtocolDecoder.java
@@ -37,6 +37,7 @@ public class Xt013ProtocolDecoder extends BaseProtocolDecoder {
}
private static final Pattern pattern = Pattern.compile(
+ "(?:HI,\\d+)?" +
"TK," +
"(\\d+)," + // IMEI
"(\\d{2})(\\d{2})(\\d{2})" + // Date (YYMMDD)