From 8560d199a4440fb83ddbc46b81d0b0b0281d0385 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Thu, 25 Oct 2018 15:30:25 +0400 Subject: Handle MT600 Plus message format --- src/org/traccar/protocol/Tlt2hProtocolDecoder.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/org') 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(); -- cgit v1.2.3