修改配置和协议解析
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user