aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-09-15 02:46:40 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-09-15 02:46:40 +1200
commitc82fd979ad17ecfb7dd8f3e366c067b66f4cdabc (patch)
tree59bc771b48b91b3fa1328b216d507b937722c9d1 /src
parent1e7d036f1f076f380dca358432bb4ab2b7be255f (diff)
downloadtraccar-server-c82fd979ad17ecfb7dd8f3e366c067b66f4cdabc.tar.gz
traccar-server-c82fd979ad17ecfb7dd8f3e366c067b66f4cdabc.tar.bz2
traccar-server-c82fd979ad17ecfb7dd8f3e366c067b66f4cdabc.zip
Handle MVT380 no power value
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/protocol/MeitrackProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/MeitrackProtocolDecoder.java b/src/org/traccar/protocol/MeitrackProtocolDecoder.java
index 469ef3f76..2d0590f5e 100644
--- a/src/org/traccar/protocol/MeitrackProtocolDecoder.java
+++ b/src/org/traccar/protocol/MeitrackProtocolDecoder.java
@@ -69,7 +69,7 @@ public class MeitrackProtocolDecoder extends BaseProtocolDecoder {
.number("(x+)?|") // adc2
.number("(x+)?|") // adc3
.number("(x+)|") // battery
- .number("(x+),") // power
+ .number("(x+)?,") // power
.groupBegin()
.expression("([^,]+)?,") // event specific
.expression("[^,]*,") // reserved