-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't Delay Apps Attempting to Connect over the MultiSession Protocol String #1240
Comments
@joeljfischer After lots of tests with 20 "SDL Example" builds on an iPhone X and on various Ford systems I can say that the retry delay cannot be removed for Ford systems. First of all the delay must remain for pre multiplexing systems which don't support If the test phone is connected to SYNC before it finished booting, some systems like our most common used version instantly crashes. Actually Core crashes making mobile app support non-functional for the whole ride. This is not far off common user behavior as the system needs some time until it's fully booted and ready. I don't think we can predict the uptime therefore my statement is that 20 apps without delay won't work on Ford systems. I have not identified the "sweet spot" of how many apps would work as I would need to run this test again but I gave a delay of 4.5seconds a try on the affected SYNC version and it looked promising. I think the next steps are to do more tests on boot time and stress how many apps can connect without delay and what delay would work fine for that many apps. |
After a couple more tests I cannot recommend removing the delay or even reducing it without risking app reliability to connect. This issue should remain open if we still pursue to speed up the connection time but we may need to find another approach to do so. The only solution is to have the HMI integration guideline describe certain KPIs for apps to get connected and support existing head units with their connection time behavior. The head unit should be able to provide information to the app if fast connect is supported. Either by adding a new protocol string (like I leave it up to the PM how to proceed and hope the tests that we made are helpful to understand the behavior on Ford head units with regards to connection time. |
@kshala-ford Thanks for the comments and the suggestions. I'll close this PR and move some of those comments to the issue. |
Whoops, this is the issue 😅 |
This is going to stay as-is as we move into maintenance mode. |
Bug Report
Currently it appears that all apps are delayed in connecting to either a control or data session. However, since multisession apps directly connect to the multisession protocol string, we should not delay those apps from connecting.
See:
SDLIAPTransport sdl_accessoryConnected:
andSDLIAPTransport sdl_connectAccessory:
Reproduction Steps
Expected Behavior
No delay exists in connecting the apps
Observed Behavior
Apps are delayed in connecting 1.5 - 9.5 seconds
OS & Version Information
The text was updated successfully, but these errors were encountered: