修改测试程序bug

This commit is contained in:
xinfengkun
2022-03-18 13:03:02 +08:00
parent 22c7920027
commit cc42c9f9df
3 changed files with 13 additions and 2 deletions

View File

@@ -341,7 +341,7 @@ public class AdasChannel implements IAdasNetCommApi, FpgaSocket.IWebSocketConnec
if (raw.getProtocolStatus() == ProtocolStatus.SUCCEED) {
MessagePad.Header header = MessagePad.Header.parseFrom(raw.getHeader());
MessagePad.MessageType messageType = header.getMsgType();
CupidLogUtils.w("--->websocket byte read header = " + messageType.toString());
// CupidLogUtils.w("--->websocket byte read header = " + messageType.toString());
IMsg iMsg = myMessageFactory.createMessage(messageType);
if (iMsg == null) {
callError(ProtocolStatus.MESSAGE_TYPE_UNKNOWN, bytes);