[change] 临时开启工控机命令发送LOG
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user