-
Notifications
You must be signed in to change notification settings - Fork 121
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
[Accepted with Revisions] SDL 0188 - Interior Vehicle Data resumption #554
Comments
What is the need for this? The main reason for data resumption up to this point is to speed up the app being ready for the user to use because of some calls that take a long time (anything that involves VR, for example). I don't have a lot of experience with RC, but does it take a long time to re-subscribe on a reconnection? Is it worth the added complexity? If so, why for RC and not for vehicle data? |
Is there a reason that we don't already include all subscription types in the resumption process? (Buttons, RC, Vehicle Data, Way Points). Trade off for having subscription resumption could be the apps don't know for sure if they are still subscribed after resumption and the mobile will probably send a subscribe request anyways on reconnection. Maybe we could add a However I am not sure all of these changes are necessary. |
This change seems extremely arbitrary and too thinly focused. I agree with Joel's comments that this would need to be a global change for subscriptions if included. It can't only be used for a singular subscription model. I'm wondering if this change is meant more for strictly between Core and the HMI and not including the apps' subscriptions. Basically if an app had previously subscribed to RC, there was an unexpected crash on the module side, Core should send the HMI the subscription resumption information even though Core does not reestablish the subscription with the client apps until they actually send their subscription requests through the normal means as it is today. This would essentially be a call to ready the RC data caches. |
The Steering Committee voted to defer this proposal, keeping it in review until our next meeting on 2018-07-31, to allow the author time to respond to the comments left on the review issue. |
The original proposal of interior vehicle data subscription does not include resumption process. So now if the application was unexpected disconnected, all interior vehicle data subscriptions will be lost. |
Actually, By current requirements SDL should restore al subscriptions except for interior vehicle data:
Full data resumption requirements attached as PDF.
Application subscriptions are the same persistent data as AddCommands or SubMenus, so if the application was successfully resumed it should assume that all subscriptions still present.
Maybe it could be useful, but not required |
Global change of subscription model is good initiative, but it certainly requires major version change, isn't it?
SDL will restore subscription only in case if during registration application will send correct hash id. So if mobile know the correct hash ID , it should know list of subscriptions that are actual for this mobile |
I'm still a little confused by your comments @LuxoftAKutsan. So I want to make sure everyone is clear.
|
Correct, except interior data subscriptions.
There are no changes in API, only in SDL behavior changes. Backward compatibility should not be broken. The only changes that applications that after reconnect will try to restore subscriptions (via GetInteriorVehicleData {subscribe=true}) will be notified that it is already subscribed via (GetInteriorVehicleData {isSubscribed=true})
This document just describes current SDL behavior. There are plenty of requirements about existing SDL functionality that are not delivered to open source developer portal. |
here is the link to the existing document about app resumption |
The Steering Committee voted to accept this proposal with revisions. The revisions are outlined below:
It will be determined upon implementation if the existing documentation about app resumption (https://smartdevicelink.com/en/docs/hmi/master/basiccommunication/onappregistered/) can be used as a Best Practice Guide, or if new documentation is needed to ensure clarity for developers. |
@LuxoftAKutsan and @yang1070 - please advise when a new PR has been entered to update the proposal to reflect the agreed upon revisions. I'll then merge the PR so the proposal is up to date, and enter issues in the respective repositories for implementation. Thanks! |
Hello SDL community,
The review of "SDL 0188 - Interior Vehicle Data resumption" begins now and runs through July 24, 2018. The proposal is available here:
https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0188-get-interior-data-resumption.md
Reviews are an important part of the SDL evolution process. All reviews should be sent to the associated Github issue at:
#554
What goes into a review?
The goal of the review process is to improve the proposal under review through constructive criticism and, eventually, determine the direction of SDL. When writing your review, here are some questions you might want to answer in your review:
Please state explicitly whether you believe that the proposal should be accepted into SDL.
More information about the SDL evolution process is available at
https://github.com/smartdevicelink/sdl_evolution/blob/master/process.md
Thank you,
Theresa Lech
Program Manager - Livio
theresa@livio.io
The text was updated successfully, but these errors were encountered: