aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-06-07 09:57:37 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2017-06-07 09:57:37 -0700
commit2742be4523fab5b371ae5dc11f573c7064546a7f (patch)
tree4da0d374f74845e133e9d185def16c4f3adbf1bb /src/org/traccar/protocol
parent6aafe32539d7892cd25cf4c1d1a16597838a516f (diff)
downloadtraccar-server-2742be4523fab5b371ae5dc11f573c7064546a7f.tar.gz
traccar-server-2742be4523fab5b371ae5dc11f573c7064546a7f.tar.bz2
traccar-server-2742be4523fab5b371ae5dc11f573c7064546a7f.zip
Support GV300N device
Diffstat (limited to 'src/org/traccar/protocol')
-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 a6da38ef4..0927f53fd 100644
--- a/src/org/traccar/protocol/Gl200ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Gl200ProtocolDecoder.java
@@ -312,7 +312,7 @@ public class Gl200ProtocolDecoder extends BaseProtocolDecoder {
private static final Pattern PATTERN_BASIC = new PatternBuilder()
.text("+").expression("(?:RESP|BUFF)").text(":")
.expression("GT...,")
- .number("(?:[0-9A-Z]{2}xxxx)?,") // protocol version
+ .number("(?:[0-9A-Z]{2}xxxx)?,").optional() // protocol version
.number("(d{15}|x{14}),") // imei
.any()
.number("(d{1,2})?,") // hdop