aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authoralexthefifth <10274240+alexthefifth@users.noreply.github.com>2020-02-23 15:08:41 -0500
committeralexthefifth <10274240+alexthefifth@users.noreply.github.com>2020-02-23 15:08:41 -0500
commitb23b1efe6b3dba788f3acb87b403522097114208 (patch)
treeba28b92d57e42f169ddf15727b2c860ff9983de7 /src/main/java
parent43abeeb1dad9e15681d87b299752d057914ae29e (diff)
downloadtraccar-server-b23b1efe6b3dba788f3acb87b403522097114208.tar.gz
traccar-server-b23b1efe6b3dba788f3acb87b403522097114208.tar.bz2
traccar-server-b23b1efe6b3dba788f3acb87b403522097114208.zip
Do not require password (default when programming MT600 via USB)
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/org/traccar/protocol/Tlt2hProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/Tlt2hProtocolDecoder.java b/src/main/java/org/traccar/protocol/Tlt2hProtocolDecoder.java
index 7ad99b37e..3ce6438f8 100644
--- a/src/main/java/org/traccar/protocol/Tlt2hProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Tlt2hProtocolDecoder.java
@@ -38,7 +38,7 @@ public class Tlt2hProtocolDecoder extends BaseProtocolDecoder {
private static final Pattern PATTERN_HEADER = new PatternBuilder()
.number("#(d+)") // imei
.expression("#[^#]*") // user
- .number("#d+") // password
+ .number("#d*") // password
.groupBegin()
.number("#([01])") // door
.number("#(d+)") // fuel voltage