diff options
author | Abyss777 <abyss@fox5.ru> | 2016-08-17 14:35:11 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2016-08-17 14:35:11 +0500 |
commit | 54a64d8c0186e71ce557b5e9764d478084e9443c (patch) | |
tree | 65a57a0d8f173493ef13cd9cd7736b22808d218c /src/org/traccar/protocol | |
parent | 7dd85faa3018aa6d3c8a192eed99360cb406eb71 (diff) | |
download | trackermap-server-54a64d8c0186e71ce557b5e9764d478084e9443c.tar.gz trackermap-server-54a64d8c0186e71ce557b5e9764d478084e9443c.tar.bz2 trackermap-server-54a64d8c0186e71ce557b5e9764d478084e9443c.zip |
Used ALARM_GENERAL for Tytan
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r-- | src/org/traccar/protocol/TytanProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/TytanProtocolDecoder.java b/src/org/traccar/protocol/TytanProtocolDecoder.java index 092ba431a..2733a568b 100644 --- a/src/org/traccar/protocol/TytanProtocolDecoder.java +++ b/src/org/traccar/protocol/TytanProtocolDecoder.java @@ -66,7 +66,7 @@ public class TytanProtocolDecoder extends BaseProtocolDecoder { int alarm = buf.readUnsignedByte(); buf.readUnsignedByte(); if (BitUtil.check(alarm, 5)) { - position.set(Position.KEY_ALARM, BitUtil.to(alarm, 4)); + position.set(Position.KEY_ALARM, Position.ALARM_GENERAL); } break; case 8: |