aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-11-20 10:40:58 -0800
committerAnton Tananaev <anton@traccar.org>2023-11-20 10:40:58 -0800
commitc4bc919e3490dfc4d1d20d6b41e48003d1400073 (patch)
tree6ed908e5eed2b1dd77503a2422e6af889a0849f2 /src/main
parent10546bfafe1f994eb44080d0d9b10bbd30f6739e (diff)
downloadtrackermap-server-c4bc919e3490dfc4d1d20d6b41e48003d1400073.tar.gz
trackermap-server-c4bc919e3490dfc4d1d20d6b41e48003d1400073.tar.bz2
trackermap-server-c4bc919e3490dfc4d1d20d6b41e48003d1400073.zip
Improve Queclink basic pattern
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/traccar/protocol/Gl200TextProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/Gl200TextProtocolDecoder.java b/src/main/java/org/traccar/protocol/Gl200TextProtocolDecoder.java
index 290f35d83..5ee3761dd 100644
--- a/src/main/java/org/traccar/protocol/Gl200TextProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Gl200TextProtocolDecoder.java
@@ -1398,7 +1398,7 @@ public class Gl200TextProtocolDecoder extends BaseProtocolDecoder {
private static final Pattern PATTERN_BASIC = new PatternBuilder()
.text("+").expression("(?:RESP|BUFF)").text(":")
.expression("GT...,")
- .number("(?:[0-9A-Z]{2}xxxx)?,").optional() // protocol version
+ .expression("[^,]+,").optional() // protocol version
.number("(d{15}|x{14}),") // imei
.any()
.text(",")