aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/Tlt2hProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-10-25 15:30:25 +0400
committerAnton Tananaev <anton.tananaev@gmail.com>2018-10-25 15:30:25 +0400
commit8560d199a4440fb83ddbc46b81d0b0b0281d0385 (patch)
tree79a70cd66854a47cc63ec402e04b4ce39073445b /src/org/traccar/protocol/Tlt2hProtocolDecoder.java
parent63e06bc37060861aabebf93723fc20318152f957 (diff)
downloadtrackermap-server-8560d199a4440fb83ddbc46b81d0b0b0281d0385.tar.gz
trackermap-server-8560d199a4440fb83ddbc46b81d0b0b0281d0385.tar.bz2
trackermap-server-8560d199a4440fb83ddbc46b81d0b0b0281d0385.zip
Handle MT600 Plus message format
Diffstat (limited to 'src/org/traccar/protocol/Tlt2hProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/Tlt2hProtocolDecoder.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/Tlt2hProtocolDecoder.java b/src/org/traccar/protocol/Tlt2hProtocolDecoder.java
index 73e28e17b..f67ff88db 100644
--- a/src/org/traccar/protocol/Tlt2hProtocolDecoder.java
+++ b/src/org/traccar/protocol/Tlt2hProtocolDecoder.java
@@ -37,8 +37,7 @@ public class Tlt2hProtocolDecoder extends BaseProtocolDecoder {
private static final Pattern PATTERN_HEADER = new PatternBuilder()
.number("#(d+)#") // imei
- .expression("[^#]*#")
- .number("d+#")
+ .any()
.expression("([^#]+)#") // status
.number("d+") // number of records
.compile();