Merge remote-tracking branch 'origin/dev_robotaxi-d-app-module_290_220715_2.9.0' into test_robotaxi-d-app-module_290_220715_2.9.0.1
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 3.6 KiB |
@@ -246,6 +246,10 @@ public class AdasChannel implements IAdasNetCommApi, FpgaSocket.IWebSocketConnec
|
||||
return false;
|
||||
}
|
||||
ByteString byteString = ByteString.of(bytes);
|
||||
if (!byteString.startsWith(Constants.RAW_MG)) {
|
||||
CupidLogUtils.e(TAG, "协议不匹配,命令下发失败 bytes=" + ByteUtil.byteArrToHex(bytes));
|
||||
return false;
|
||||
}
|
||||
return mSocket.sendDataWebSocket(byteString);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user