Need to respond with "@O#OK$" in Ivt401 protocol

anurag5 years ago

I'm using TL500 devices which falls under ivt401 protocol. After parsing the data the server needs to send "@O#OK$" as a response to the device. For this, I'm trying to use the following code before the return statement in the Ivt401ProtocolDecoder class. But when send the data packet to the server it doesn't respond with this "@O#OK$" message.

 if (channel != null) {
        channel.writeAndFlush(new NetworkMessage("@O#OK$", channel.remoteAddress()));
 }

Rest all works fine in the server.