aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org
diff options
context:
space:
mode:
authorMatjaž Črnko <m.crnko@txt.si>2023-06-12 20:38:40 +0200
committerMatjaž Črnko <m.crnko@txt.si>2023-06-12 20:38:40 +0200
commit39ae0f3b25ba198c74a022bae059c45c4d0ac985 (patch)
tree06b6c922445a018d4ef6fc8100ecf327ae196bb1 /src/main/java/org
parentd6bc465b25f4be9c15342395c12fa73198da0842 (diff)
downloadtrackermap-server-39ae0f3b25ba198c74a022bae059c45c4d0ac985.tar.gz
trackermap-server-39ae0f3b25ba198c74a022bae059c45c4d0ac985.tar.bz2
trackermap-server-39ae0f3b25ba198c74a022bae059c45c4d0ac985.zip
Ruptela - > 0 for boolean on the Jamming boolean
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/traccar/protocol/RuptelaProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/RuptelaProtocolDecoder.java b/src/main/java/org/traccar/protocol/RuptelaProtocolDecoder.java
index c1fc95e34..33372224b 100644
--- a/src/main/java/org/traccar/protocol/RuptelaProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/RuptelaProtocolDecoder.java
@@ -133,7 +133,7 @@ public class RuptelaProtocolDecoder extends BaseProtocolDecoder {
position.set(Position.PREFIX_TEMP + (id - 78), readValue(buf, length, true) * 0.1);
break;
case 88:
- if (readValue(buf, length, false) == 1) {
+ if (readValue(buf, length, false) > 0) {
position.set(Position.KEY_ALARM, Position.ALARM_JAMMING);
}
break;