diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2021-10-13 20:49:17 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2021-10-13 20:49:17 -0700 |
commit | 49424c999ec8eba6b8c3f2003ddae35137abbc38 (patch) | |
tree | 597073f625bee75a3a69472a64a3dcfd4932f592 /src/main | |
parent | 55183c8ff9774573e7a43175eb3f75fb558ce768 (diff) | |
download | trackermap-server-49424c999ec8eba6b8c3f2003ddae35137abbc38.tar.gz trackermap-server-49424c999ec8eba6b8c3f2003ddae35137abbc38.tar.bz2 trackermap-server-49424c999ec8eba6b8c3f2003ddae35137abbc38.zip |
No response for normal positions
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/traccar/protocol/T800xProtocolDecoder.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/T800xProtocolDecoder.java b/src/main/java/org/traccar/protocol/T800xProtocolDecoder.java index 93acdbf2b..7f7873e50 100644 --- a/src/main/java/org/traccar/protocol/T800xProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/T800xProtocolDecoder.java @@ -483,7 +483,9 @@ public class T800xProtocolDecoder extends BaseProtocolDecoder { } } - sendResponse(channel, header, type, index, imei, alarm); + if (type == MSG_ALARM || type == MSG_ALARM_2) { + sendResponse(channel, header, type, index, imei, alarm); + } return position; } |