aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/Gl200ProtocolDecoder.java
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-10-06 13:59:31 +0500
committerAbyss777 <abyss@fox5.ru>2016-10-06 13:59:31 +0500
commit4b816255f5e55cddd8ea022b940f33bd204aeb60 (patch)
tree49d61d1a2e43c7f0e22344def6fae684bfd30fbe /src/org/traccar/protocol/Gl200ProtocolDecoder.java
parent453bd2ed647d66725790b35eaab4932bf86b3ad1 (diff)
downloadtrackermap-server-4b816255f5e55cddd8ea022b940f33bd204aeb60.tar.gz
trackermap-server-4b816255f5e55cddd8ea022b940f33bd204aeb60.tar.bz2
trackermap-server-4b816255f5e55cddd8ea022b940f33bd204aeb60.zip
GTINF can come from buffer
Diffstat (limited to 'src/org/traccar/protocol/Gl200ProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/Gl200ProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/Gl200ProtocolDecoder.java b/src/org/traccar/protocol/Gl200ProtocolDecoder.java
index 2d28ea199..7187aa7cc 100644
--- a/src/org/traccar/protocol/Gl200ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Gl200ProtocolDecoder.java
@@ -50,7 +50,7 @@ public class Gl200ProtocolDecoder extends BaseProtocolDecoder {
.compile();
private static final Pattern PATTERN_INF = new PatternBuilder()
- .text("+RESP:GTINF,")
+ .text("+").expression("(?:RESP|BUFF):GTINF,")
.number("[0-9A-Z]{2}xxxx,") // protocol version
.number("(d{15}),") // imei
.expression("(?:[0-9A-Z]{17},)?") // vin