删除魔戒的实现,添加操作魔方的约束

This commit is contained in:
lixiaopeng
2022-10-25 17:22:56 +08:00
parent 6e3b39c276
commit 453c08d34b
2 changed files with 106 additions and 202 deletions

View File

@@ -302,7 +302,6 @@ public class AdasChannel implements IAdasNetCommApi, FpgaSocket.IWebSocketConnec
if (mSocket == null || bytes == null || bytes.length <= 0) {
return false;
}
Log.d("liyz", "sendWsMessag bytes = " + bytes); //TODO
ByteString byteString = ByteString.of(bytes);
if (!byteString.startsWith(Constants.RAW_MG)) {
CupidLogUtils.e(TAG, "协议不匹配,命令下发失败 bytes=" + ByteUtil.byteArrToHex(bytes));