aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-08-08 11:09:27 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-08-08 11:09:27 -0700
commit51c6b0fe2ce11af9ce5f758dd81ffec3e59ad83b (patch)
treef58a290e151afe27b8d503bb730cc6189ead931a /src/main/java
parent3ae0b76c4c8129833ef3b7a51275b2ad2586ac04 (diff)
downloadtrackermap-server-51c6b0fe2ce11af9ce5f758dd81ffec3e59ad83b.tar.gz
trackermap-server-51c6b0fe2ce11af9ce5f758dd81ffec3e59ad83b.tar.bz2
trackermap-server-51c6b0fe2ce11af9ce5f758dd81ffec3e59ad83b.zip
Fix alarm decoding
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/org/traccar/protocol/WatchProtocolDecoder.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/main/java/org/traccar/protocol/WatchProtocolDecoder.java b/src/main/java/org/traccar/protocol/WatchProtocolDecoder.java
index 72d4bf8b9..a6b89dde4 100644
--- a/src/main/java/org/traccar/protocol/WatchProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/WatchProtocolDecoder.java
@@ -253,9 +253,6 @@ public class WatchProtocolDecoder extends BaseProtocolDecoder {
Position position = decodePosition(deviceSession, buf.toString(StandardCharsets.US_ASCII));
if (type.startsWith("AL")) {
- if (position != null) {
- position.set(Position.KEY_ALARM, Position.ALARM_SOS);
- }
sendResponse(channel, id, index, "AL");
}