mirror of
https://gitee.com/san-bing/JChargePointProtocol
synced 2026-05-05 02:19:56 +08:00
未知CMD打印hex格式
This commit is contained in:
@@ -177,7 +177,7 @@ public class YunKuaiChongProtocolMessageProcessor extends ProtocolMessageProcess
|
|||||||
|
|
||||||
if (uplinkCmdExe == null) {
|
if (uplinkCmdExe == null) {
|
||||||
|
|
||||||
log.info("{} 云快充协议接收到未知的上行指令 {}", session, message.getCmd());
|
log.info("{} 云快充协议接收到未知的上行指令 0x{}", session, Integer.toHexString(message.getCmd()));
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -190,7 +190,7 @@ public class YunKuaiChongProtocolMessageProcessor extends ProtocolMessageProcess
|
|||||||
|
|
||||||
if (downlinkCmdExe == null) {
|
if (downlinkCmdExe == null) {
|
||||||
|
|
||||||
log.info("{} 云快充协议接收到未知的下行指令 {}", session, message.getCmd());
|
log.info("{} 云快充协议接收到未知的下行指令 0x{}", session, Integer.toHexString(message.getCmd()));
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user