[change] 临时开启工控机命令发送LOG

This commit is contained in:
xinfengkun
2022-09-29 17:03:50 +08:00
parent 066a0e1ddd
commit af6d528682

View File

@@ -9,6 +9,7 @@ import static com.zhidao.support.adas.high.common.Constants.RESOURCE_PATH;
import static com.zhidao.support.adas.high.common.Constants.WS_IP_HOST_HEAD;
import android.text.TextUtils;
import android.util.Log;
import androidx.annotation.NonNull;
@@ -167,7 +168,8 @@ public class FpgaSocket implements IWebSocket {
public boolean sendDataWebSocket(ByteString data) {
if (mWebSocket != null && isConnected.get()) {
boolean result = mWebSocket.send(data);
CupidLogUtils.i(TAG, "WebSocket send ByteString=" + ByteUtil.byteArrToHex(data.toByteArray()) + ", result= " + result);
// CupidLogUtils.i(TAG, "WebSocket send ByteString=" + ByteUtil.byteArrToHex(data.toByteArray()) + ", result= " + result);
Log.i("[tag=" + TAG + "]", "[data=WebSocket send ByteString=" + ByteUtil.byteArrToHex(data.toByteArray()) + ", result= " + result + "]");
return result;
}
return false;