diff options
author | Anton Tananaev <anton@traccar.org> | 2022-07-20 16:55:02 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-07-20 16:55:02 -0700 |
commit | 482876a5d8f4ba2e749aa5b39c29cd07589f7bcc (patch) | |
tree | dcbe8cd38cd2814f64c1f0447515c0b3aa565e78 /src/main/java/org/traccar/protocol | |
parent | 35070c85e26fe75e73315506b8cae3360f79d12e (diff) | |
download | trackermap-server-482876a5d8f4ba2e749aa5b39c29cd07589f7bcc.tar.gz trackermap-server-482876a5d8f4ba2e749aa5b39c29cd07589f7bcc.tar.bz2 trackermap-server-482876a5d8f4ba2e749aa5b39c29cd07589f7bcc.zip |
Add Xexun2 dismantle alarm
Diffstat (limited to 'src/main/java/org/traccar/protocol')
-rw-r--r-- | src/main/java/org/traccar/protocol/Xexun2ProtocolDecoder.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/protocol/Xexun2ProtocolDecoder.java b/src/main/java/org/traccar/protocol/Xexun2ProtocolDecoder.java index 501897715..a572f8622 100644 --- a/src/main/java/org/traccar/protocol/Xexun2ProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/Xexun2ProtocolDecoder.java @@ -67,6 +67,9 @@ public class Xexun2ProtocolDecoder extends BaseProtocolDecoder { if (BitUtil.check(value, 0)) { return Position.ALARM_SOS; } + if (BitUtil.check(value, 1)) { + return Position.ALARM_REMOVING; + } if (BitUtil.check(value, 15)) { return Position.ALARM_FALL_DOWN; } |