aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-11-13 07:12:24 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-11-13 07:12:24 +1300
commit0a8f30a572b1e64ff3e1d67281bf9fa3f40b9ccb (patch)
tree527a356bce2aa41c817e341f4752b063239f7619 /src
parent395ed2c3845d20b0dbb25e39806dfdd37c2ec0d3 (diff)
downloadtrackermap-server-0a8f30a572b1e64ff3e1d67281bf9fa3f40b9ccb.tar.gz
trackermap-server-0a8f30a572b1e64ff3e1d67281bf9fa3f40b9ccb.tar.bz2
trackermap-server-0a8f30a572b1e64ff3e1d67281bf9fa3f40b9ccb.zip
Fix GV65+ ERI message decoding
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/protocol/Gl200TextProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/Gl200TextProtocolDecoder.java b/src/org/traccar/protocol/Gl200TextProtocolDecoder.java
index 2f03cbb8f..46a530efa 100644
--- a/src/org/traccar/protocol/Gl200TextProtocolDecoder.java
+++ b/src/org/traccar/protocol/Gl200TextProtocolDecoder.java
@@ -216,7 +216,7 @@ public class Gl200TextProtocolDecoder extends BaseProtocolDecoder {
.number("(d{1,7}.d)?,") // odometer
.number("(d{5}:dd:dd)?,") // hour meter
.number("(x+)?,") // adc 1
- .number("(x+)?,") // adc 2
+ .number("(x+)?,").optional() // adc 2
.number("(d{1,3})?,") // battery
.number("(?:(xx)(xx)(xx))?,") // device status
.expression("(.*)") // additional data