aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-11-03 20:30:00 -0700
committerAnton Tananaev <anton@traccar.org>2022-11-03 20:30:00 -0700
commitfdd52edc7811ae973c93ae825cc1bd1d9e9fe33f (patch)
tree591b24a816f77e3c718da234c03e1aebcb8cc0b2 /src/main/java/org/traccar
parent9c03a0505f46a92f645dc927dba2da6458facfb1 (diff)
downloadtrackermap-server-fdd52edc7811ae973c93ae825cc1bd1d9e9fe33f.tar.gz
trackermap-server-fdd52edc7811ae973c93ae825cc1bd1d9e9fe33f.tar.bz2
trackermap-server-fdd52edc7811ae973c93ae825cc1bd1d9e9fe33f.zip
Fix response
Diffstat (limited to 'src/main/java/org/traccar')
-rw-r--r--src/main/java/org/traccar/protocol/MeitrackProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/MeitrackProtocolDecoder.java b/src/main/java/org/traccar/protocol/MeitrackProtocolDecoder.java
index 8e5269ec8..736f5871c 100644
--- a/src/main/java/org/traccar/protocol/MeitrackProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/MeitrackProtocolDecoder.java
@@ -363,7 +363,7 @@ public class MeitrackProtocolDecoder extends BaseProtocolDecoder {
positions.add(position);
}
- if (channel == null) {
+ if (channel != null) {
StringBuilder command = new StringBuilder("@@");
command.append(flag).append(27 + positions.size() / 10).append(",");
command.append(imei).append(",CCC,").append(positions.size()).append("*");