aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-01-23 21:43:25 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2019-01-23 21:43:25 -0800
commit6ff2508c0019c443da7b943f2f71eb9221c47f55 (patch)
treecdab3b82f5fb1d9037c34b5a5eb819ca7dbaf662 /src/org/traccar
parent629549118c320801b446aa2961fe8ec60ae7530c (diff)
downloadtrackermap-server-6ff2508c0019c443da7b943f2f71eb9221c47f55.tar.gz
trackermap-server-6ff2508c0019c443da7b943f2f71eb9221c47f55.tar.bz2
trackermap-server-6ff2508c0019c443da7b943f2f71eb9221c47f55.zip
Fix wifi response
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/protocol/Gt06ProtocolDecoder.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/Gt06ProtocolDecoder.java b/src/org/traccar/protocol/Gt06ProtocolDecoder.java
index 18b3f508d..7c7c485a8 100644
--- a/src/org/traccar/protocol/Gt06ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Gt06ProtocolDecoder.java
@@ -595,6 +595,7 @@ public class Gt06ProtocolDecoder extends BaseProtocolDecoder {
if (channel != null) {
ByteBuf response = Unpooled.buffer();
+ response.writeShort(0x7878);
response.writeByte(0);
response.writeByte(type);
response.writeBytes(time.resetReaderIndex());