aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-03-31 10:15:32 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-03-31 10:15:32 +1300
commit794a170e94454868083a78d433df84168ee8ec98 (patch)
treea1f249d7c7ca5776150b57991ccd1516fef72ef9 /src
parent1117ee8c759b0000b180ba18da6939a194e0b78b (diff)
downloadtraccar-server-794a170e94454868083a78d433df84168ee8ec98.tar.gz
traccar-server-794a170e94454868083a78d433df84168ee8ec98.tar.bz2
traccar-server-794a170e94454868083a78d433df84168ee8ec98.zip
Implement support for Megastek clone
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/protocol/MegastekProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/MegastekProtocolDecoder.java b/src/org/traccar/protocol/MegastekProtocolDecoder.java
index c212e90fa..2eebc8d2f 100644
--- a/src/org/traccar/protocol/MegastekProtocolDecoder.java
+++ b/src/org/traccar/protocol/MegastekProtocolDecoder.java
@@ -49,7 +49,7 @@ public class MegastekProtocolDecoder extends BaseProtocolDecoder {
.number("imei:(d+),") // imei
.number("(d+/?d*)?,") // satellites
.number("(d+.d+)?,") // altitude
- .number("Battery=(d+)%,,") // battery
+ .number("Battery=(d+)%,,?") // battery
.number("(d)?,") // charger
.number("(d+)?,") // mcc
.number("(d+)?,") // mnc