修改配置和协议解析

This commit is contained in:
chy
2026-05-11 00:11:02 +08:00
parent 5f351425b9
commit de71466c0a
9 changed files with 42 additions and 35 deletions

View File

@@ -50,7 +50,7 @@ public class MessageAdapter implements MessageDecoder, MessageEncoder{
Long productId = null;
String devNum = new String(ByteBufUtil.getBytes(buf));
String dump = ByteBufUtil.hexDump(buf);
log.info("=>上报hex数据:{}", dump);
// log.info("=>上报hex数据:{}", dump);
//这里兼容一下TCP整包发送的数据(整包==设备编号,数据一起发送)
if (clientId == null){