iPad connection instability
Posted: Sat Jun 17, 2023 2:19 pm
I have a RaceCapture 4 and an iPad mini latest gen, everything is fully updated (the RC firmware, RC app, iPadOS). I'm often having repeat connection dropping.
The only way to get a connection is to fully crash the app, power cycle the RC unit, connect to the wi-fi, then open the app. This works about half the time, and if I disconnect or close the app, I have to redo the entire process.
This also happens when trying to connect my iPhone. Connection to Mac via USB is fine. I've tried the wi-fi reset script from the wiki.
Screen recording: https://youtu.be/UfdWUsI6zPw
Logs captured below:
The only way to get a connection is to fully crash the app, power cycle the RC unit, connect to the wi-fi, then open the app. This works about half the time, and if I disconnect or close the app, I have to redo the entire process.
This also happens when trying to connect my iPhone. Connection to Mac via USB is fine. I've tried the wi-fi reset script from the wiki.
Screen recording: https://youtu.be/UfdWUsI6zPw
Logs captured below:
Code: Select all
[CAN device] timeout rx CAN msg
Timeout sending PID request 17
[CAN device] timeout rx CAN msg
[ESP8266 Driver] Socket connected on channel 1
[wifi] New external connection: Wifi Chan 1
[wifi] External conn slot: 0
Timeout sending PID request 5
[ESP8266 Driver] Rx: {"getVer":null}
[wifi] Received CMD: {"getVer":null}
[CAN device] timeout rx CAN msg
Timeout sending PID request 12
[CAN device] timeout rx CAN msg
Timeout sending PID request 17
[USB] Received CMD: {"getStatus":null}
[CAN device] timeout rx CAN msg
Timeout sending PID request 12
[CAN device] timeout rx CAN msg
Timeout sending PID request 17
[CAN device] timeout rx CAN msg
Timeout sending PID request 12
[CAN device] timeout rx CAN msg
Timeout sending PID request 17
[CAN device] timeout rx CAN msg
Timeout sending PID request 12
[CAN device] timeout rx CAN msg
Timeout sending PID request 17
[CAN device] timeout rx CAN msg
Timeout sending PID request 12
[CAN device] timeout rx CAN msg
Timeout sending PID request 17
[ESP8266 Driver] Rx: {"getMeta":null}
[wifi] Received CMD: {"getMeta":null}
[CAN device] timeout rx CAN msg
[esp8266] Received less data than expected: 20/46; data: {"getStatus":null}
[ESP8266 Driver] Rx: {"getStatus":null}
[AT] Unhandled msg received: {"getCapabilities":null}
Timeout sending PID request 12
[USB] Received CMD: {"getLogfile":null}
[CAN device] timeout rx CAN msg
Timeout sending PID request 17
[wifi] Received CMD: {"getStatus":null}
[CAN device] timeout rx CAN msg
Timeout sending PID request 12
[CAN device] timeout rx CAN msg
Timeout sending PID request 17
[wifi] Received CMD:
[CAN device] timeout rx CAN msg
Timeout sending PID request 12
[wifi] Received CMD: K
[wifi] Received CMD:
[CAN device] timeout rx CAN msg
Timeout sending PID request 17
[wifi] Received CMD:
[CAN device] timeout rx CAN msg
Timeout sending PID request 12
[wifi] Received CMD:
[CAN device] timeout rx CAN msg
Timeout sending PID request 17
[USB] Received CMD: {"getStatus":null}
[wifi] Received CMD:
[CAN device] timeout rx CAN msg
Timeout sending PID request 12
[CAN device] timeout rx CAN msg
[wifi] Received CMD:
Timeout sending PID request 17
[CAN device] timeout rx CAN msg
Timeout sending PID request 12
[wifi] Received CMD:
[CAN device] timeout rx CAN msg
Timeout sending PID request 17
[CAN device] timeout rx CAN msg
Timeout sending PID request 12
[CAN device] timeout rx CAN msg
Timeout sending PID request 17
[wifi] Received CMD:
[CAN device] timeout rx CAN msg
Timeout sending PID request 5
[wifi] Received CMD:
[CAN device] timeout rx CAN msg
Timeout sending PID request 12
[CAN device] timeout rx CAN msg
Timeout sending PID request 17
[ESP8266 Driver] Rx:
[ESP8266 Driver] Rx: {"getStatus":null}
[wifi] Received CMD:
[CAN device] timeout rx CAN msg
Timeout sending PID request 12
[USB] Received CMD: {"getLogfile":null}
[CAN device] timeout rx CAN msg
Timeout sending PID request 17
[wifi] Received CMD:
[CAN device] timeout rx CAN msg
Timeout sending PID request 12
[CAN device] timeout rx CAN msg
Timeout sending PID request 17
[CAN device] timeout rx CAN msg
Timeout sending PID request 12
[wifi] Received CMD:
[CAN device] timeout rx CAN msg
Timeout sending PID request 17
[wifi] Received CMD:
[CAN device] timeout rx CAN msg
Timeout sending PID request 12
[CAN device] timeout rx CAN msg
[USB] Received CMD: {"getStatus":null}
Timeout sending PID request 17
[wifi] Received CMD:
[CAN device] timeout rx CAN msg
Timeout sending PID request 12
[CAN device] timeout rx CAN msg
Timeout sending PID request 17
[CAN device] timeout rx CAN msg
Timeout sending PID request 12
[CAN device] timeout rx CAN msg
Timeout sending PID request 17
[wifi] Received CMD:
[CAN device] timeout rx CAN msg
Timeout sending PID request 12
[wifi] Received CMD:
[CAN device] timeout rx CAN msg
Timeout sending PID request 17
[CAN device] timeout rx CAN msg
Timeout sending PID request 12
[wifi] Received CMD:
[CAN device] timeout rx CAN msg
[wifi] Received CMD:
Timeout sending PID request 17
[CAN device] timeout rx CAN msg
[ESP8266 Driver] Socket closed on channel 1
[esp8266] send_data_cb failed with msg: Bad response value
[ESP8266 Driver] Failed to send data on channel 1
[wifi] Closing external connection: Wifi Chan 1
[wifi] Stopping telem stream on Wifi Chan 1
Timeout sending PID request 12
[esp8266] close_cb failed.
[USB] Received CMD: {"getLogfile":null}
[CAN device] timeout rx CAN msg
Timeout sending PID request 17
[CAN device] timeout rx CAN msg
Timeout sending PID request 12
[CAN device] timeout rx CAN msg
Timeout sending PID request 17
[CAN device] timeout rx CAN msg
Timeout sending PID request 12
[ESP8266 Driver] Socket connected on channel 1
[wifi] New external connection: Wifi Chan 1
[wifi] External conn slot: 0
[CAN device] timeout rx CAN msg
Timeout sending PID request 17
[ESP8266 Driver] Rx: {"getVer":null}
[wifi] Received CMD: {"getVer":null}
[CAN device] timeout rx CAN msg
Timeout sending PID request 5
[CAN device] timeout rx CAN msg
Timeout sending PID request 12
[USB] Received CMD: {"getStatus":null}
[CAN device] timeout rx CAN msg
Timeout sending PID request 17
[CAN device] timeout rx CAN msg
Timeout sending PID request 12
[CAN device] timeout rx CAN msg
Timeout sending PID request 17
[CAN device] timeout rx CAN msg
Timeout sending PID request 12
[CAN device] timeout rx CAN msg
Timeout sending PID request 17
[CAN device] timeout rx CAN msg
Timeout sending PID request 12
[CAN device] timeout rx CAN msg
Timeout sending PID request 17