From 18ffeeb37c5efa54ffea852ad500f2d06ddba5be Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 23 Jun 2017 15:35:39 +1200 Subject: Add watch fall-down alarm --- src/org/traccar/protocol/WatchProtocolDecoder.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/org/traccar/protocol/WatchProtocolDecoder.java b/src/org/traccar/protocol/WatchProtocolDecoder.java index d55c307da..d0c066954 100644 --- a/src/org/traccar/protocol/WatchProtocolDecoder.java +++ b/src/org/traccar/protocol/WatchProtocolDecoder.java @@ -88,6 +88,8 @@ public class WatchProtocolDecoder extends BaseProtocolDecoder { return Position.ALARM_GEOFENCE_ENTER; } else if (BitUtil.check(status, 20)) { return Position.ALARM_REMOVING; + } else if (BitUtil.check(status, 21)) { + return Position.ALARM_FALL_DOWN; } return null; } -- cgit v1.2.3