未知CMD打印hex格式

This commit is contained in:
三丙
2025-06-17 19:58:12 +08:00
parent 9a9508626b
commit 47e1b5d9d0

View File

@@ -177,7 +177,7 @@ public class YunKuaiChongProtocolMessageProcessor extends ProtocolMessageProcess
if (uplinkCmdExe == null) {
log.info("{} 云快充协议接收到未知的上行指令 {}", session, message.getCmd());
log.info("{} 云快充协议接收到未知的上行指令 0x{}", session, Integer.toHexString(message.getCmd()));
return;
}
@@ -190,7 +190,7 @@ public class YunKuaiChongProtocolMessageProcessor extends ProtocolMessageProcess
if (downlinkCmdExe == null) {
log.info("{} 云快充协议接收到未知的下行指令 {}", session, message.getCmd());
log.info("{} 云快充协议接收到未知的下行指令 0x{}", session, Integer.toHexString(message.getCmd()));
return;
}