aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-08-25 23:13:30 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-08-25 23:13:30 -0700
commit707bdf44a32238a14fed324c12f69c343d3dd8c6 (patch)
treece2dcfa9ed939b5cdf4f22e5e13269fe1aa25939
parent297e330ead69b92a4723369098e7c4dbf7aa5694 (diff)
downloadtrackermap-server-707bdf44a32238a14fed324c12f69c343d3dd8c6.tar.gz
trackermap-server-707bdf44a32238a14fed324c12f69c343d3dd8c6.tar.bz2
trackermap-server-707bdf44a32238a14fed324c12f69c343d3dd8c6.zip
Add modular response
-rw-r--r--src/main/java/org/traccar/protocol/Gt06ProtocolDecoder.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/protocol/Gt06ProtocolDecoder.java b/src/main/java/org/traccar/protocol/Gt06ProtocolDecoder.java
index 281234ebb..a2944118a 100644
--- a/src/main/java/org/traccar/protocol/Gt06ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Gt06ProtocolDecoder.java
@@ -1131,6 +1131,8 @@ public class Gt06ProtocolDecoder extends BaseProtocolDecoder {
} else if (type == MSG_GPS_MODULAR) {
+ sendResponse(channel, false, type, buf.getShort(buf.writerIndex() - 6), null);
+
return decodeExtendedModular(buf, deviceSession);
} else {