From 794a170e94454868083a78d433df84168ee8ec98 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Thu, 31 Mar 2016 10:15:32 +1300 Subject: Implement support for Megastek clone --- src/org/traccar/protocol/MegastekProtocolDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3