From 707bdf44a32238a14fed324c12f69c343d3dd8c6 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 25 Aug 2021 23:13:30 -0700 Subject: Add modular response --- src/main/java/org/traccar/protocol/Gt06ProtocolDecoder.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main/java/org/traccar/protocol') 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 { -- cgit v1.2.3