aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/protocol/TotemProtocolDecoder.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/TotemProtocolDecoder.java b/src/org/traccar/protocol/TotemProtocolDecoder.java
index c1ee8bf20..d8caa9766 100644
--- a/src/org/traccar/protocol/TotemProtocolDecoder.java
+++ b/src/org/traccar/protocol/TotemProtocolDecoder.java
@@ -246,6 +246,7 @@ public class TotemProtocolDecoder extends BaseProtocolDecoder {
}
int io = parser.nextBinInt();
+ position.set(Position.KEY_STATUS, io);
if (pattern == PATTERN1) {
position.set(Position.KEY_ALARM, BitUtil.check(io, 0) ? Position.ALARM_SOS : null);
position.set(Position.PREFIX_IN + 3, BitUtil.check(io, 4));