[fix]更改调用顺序,连接成功后先调用连接成功回调,在进行CarConfig信息请求

This commit is contained in:
xinfengkun
2022-04-01 15:36:32 +08:00
parent 1c807fbfa8
commit bbcd3b0172

View File

@@ -438,10 +438,10 @@ public class AdasChannel implements IAdasNetCommApi, FpgaSocket.IWebSocketConnec
ipcConnectionStatus = Constants.IPC_CONNECTION_STATUS.CONNECTED;
ipcConnectedIp = ipAddress;
ipcConnectedPort = port;
sendCarConfigReq();
if (adasConnectStatusListener != null) {
adasConnectStatusListener.onConnectionIPCStatus(ipcConnectionStatus, null);
}
sendCarConfigReq();
}
@Override