aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-10-13 20:49:17 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-10-13 20:49:17 -0700
commit49424c999ec8eba6b8c3f2003ddae35137abbc38 (patch)
tree597073f625bee75a3a69472a64a3dcfd4932f592 /src
parent55183c8ff9774573e7a43175eb3f75fb558ce768 (diff)
downloadtraccar-server-49424c999ec8eba6b8c3f2003ddae35137abbc38.tar.gz
traccar-server-49424c999ec8eba6b8c3f2003ddae35137abbc38.tar.bz2
traccar-server-49424c999ec8eba6b8c3f2003ddae35137abbc38.zip
No response for normal positions
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/traccar/protocol/T800xProtocolDecoder.java4
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;
}