From 680caf2dae5d52f99d02958728da3f6cf9961a2d Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Tue, 19 May 2020 09:01:31 -0700 Subject: Remove low power alarm --- src/main/java/org/traccar/protocol/DmtProtocolDecoder.java | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/main/java/org/traccar') diff --git a/src/main/java/org/traccar/protocol/DmtProtocolDecoder.java b/src/main/java/org/traccar/protocol/DmtProtocolDecoder.java index 26debd998..75fdc3253 100644 --- a/src/main/java/org/traccar/protocol/DmtProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/DmtProtocolDecoder.java @@ -186,8 +186,6 @@ public class DmtProtocolDecoder extends BaseProtocolDecoder { if (!BitUtil.check(input, 1)) { position.set(Position.KEY_ALARM, Position.ALARM_LOW_BATTERY); - } else if (!BitUtil.check(input, 2)) { - position.set(Position.KEY_ALARM, Position.ALARM_LOW_POWER); } else if (BitUtil.check(input, 6)) { position.set(Position.KEY_ALARM, Position.ALARM_TAMPERING); } -- cgit v1.2.3