diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2021-08-08 11:09:27 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2021-08-08 11:09:27 -0700 |
commit | 51c6b0fe2ce11af9ce5f758dd81ffec3e59ad83b (patch) | |
tree | f58a290e151afe27b8d503bb730cc6189ead931a /src | |
parent | 3ae0b76c4c8129833ef3b7a51275b2ad2586ac04 (diff) | |
download | traccar-server-51c6b0fe2ce11af9ce5f758dd81ffec3e59ad83b.tar.gz traccar-server-51c6b0fe2ce11af9ce5f758dd81ffec3e59ad83b.tar.bz2 traccar-server-51c6b0fe2ce11af9ce5f758dd81ffec3e59ad83b.zip |
Fix alarm decoding
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/traccar/protocol/WatchProtocolDecoder.java | 3 |
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"); } |