aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-10-09 09:52:33 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-10-09 09:52:40 -0700
commit18efbd5b1bfd272387a97606e6b9f36d4e6da5ff (patch)
tree6ba9c7240934a247b5fc12efb814ad39ebcc30cd
parentbc14c486eb933411ae4afb4c4215503f9210f677 (diff)
downloadtraccar-server-18efbd5b1bfd272387a97606e6b9f36d4e6da5ff.tar.gz
traccar-server-18efbd5b1bfd272387a97606e6b9f36d4e6da5ff.tar.bz2
traccar-server-18efbd5b1bfd272387a97606e6b9f36d4e6da5ff.zip
Fix response type
-rw-r--r--src/main/java/org/traccar/protocol/CellocatorProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/CellocatorProtocolDecoder.java b/src/main/java/org/traccar/protocol/CellocatorProtocolDecoder.java
index ea4975d3e..aa13a0aa2 100644
--- a/src/main/java/org/traccar/protocol/CellocatorProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/CellocatorProtocolDecoder.java
@@ -88,7 +88,7 @@ public class CellocatorProtocolDecoder extends BaseProtocolDecoder {
content.writeByte(0); // ack
content.writeShortLE(0); // reserved
- ByteBuf reply = encodeContent(MSG_SERVER_ACKNOWLEDGE, (int) deviceId, packetNumber, content);
+ ByteBuf reply = encodeContent(MSG_CLIENT_MODULAR_EXT, (int) deviceId, packetNumber, content);
channel.writeAndFlush(new NetworkMessage(reply, remoteAddress));
}
}