mirror of
https://gitee.com/san-bing/JChargePointProtocol
synced 2026-05-04 18:09:54 +08:00
未知CMD打印hex格式
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user