aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-02-23 12:12:12 -0800
committerGitHub <noreply@github.com>2020-02-23 12:12:12 -0800
commit05990dfe53bc19cd4117491a43434d0edd310d1c (patch)
treeba28b92d57e42f169ddf15727b2c860ff9983de7 /src/main/java/org
parent43abeeb1dad9e15681d87b299752d057914ae29e (diff)
parentb23b1efe6b3dba788f3acb87b403522097114208 (diff)
downloadtrackermap-server-05990dfe53bc19cd4117491a43434d0edd310d1c.tar.gz
trackermap-server-05990dfe53bc19cd4117491a43434d0edd310d1c.tar.bz2
trackermap-server-05990dfe53bc19cd4117491a43434d0edd310d1c.zip
Merge pull request #4488 from alexthefifth/master
Do not require password (default when programming MT600 via USB)
Diffstat (limited to 'src/main/java/org')
-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