-
Notifications
You must be signed in to change notification settings - Fork 122
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
SDL 0204- Support running the same app from multiple devices at the same time #618
Comments
I would be interested in knowing the difficulty of the sdl_core updates to permit this since the proposal doesn't go into that aspect of it even though it's the largest part of this proposal. |
@joeljfischer I think it shall be relatively small change of SDL.
This is existing function of SDL (currently, an application on the same iPhone device connected via BT and USB will be treated as one app, not two apps) 2
This is existing function of SDL. 3
I think the key point is whether to accept the application's RegisterAppInterface request. Once the app successfully registers and gets an unique internal app id, (thus it treated as a new different app) the work flow is the same what we have now. Current, when an app registers app interface, SDL checks if there is any existing app that has the same app_policy_id, and rejects the request if there is one. We need update the logic here. SDL still need to check if there is any existing app that has the same app_policy_id, if no, continue as before (allow register), if yes, SDL compares the device information (device id or whatever need to differentiate a device) to those already registered apps that have the same app_policy_id, if not the same as any of those devices, continue as before (allow register), if the device has been found, rejects the request. (thus allow only one instance for one device) |
We should propose solution for sdl_hmi how to activate application by |
@LuxoftAKutsan Why would the ttsName and vrSynonyms have to be unique? That sounds very difficult to support from the application side and complicates register logic because it suggests you'd disconnect the second application. Why not prompt the user on the HMI which application to open when using VR and show the associated device? |
@justinjdickow I agree with you that it is up to HMI to determine which app need to be activated/exit with the duplicated appName or ttsName by the method of, for example 1. multiple rounds of conversation to clarify the user's intent; or 2. a list of options for the user to choose, etc. currently, ttsName <param name="ttsName" type="TTSChunk" minsize="1" maxsize="100" array="true" mandatory="false" since="2.0">
<description>
TTS string for VR recognition of the mobile application name, e.g. "Ford Drive Green".
Meant to overcome any failing on speech engine in properly pronouncing / understanding app name.
_ Needs to be unique over all applications.
+ Needs to be unique over applications from the same device.
May not be empty.
May not start with a new line character.
Only characters from char set [@TODO: Create char set (character/hex value) for each ACM and refer to] are supported.
</description>
</param> I think we can update it to |
I agree with Justin. Not sure how the app developers would ensure their vrSynonyms are unique since they don't know that other devices that are connected to core. Maybe SDL Core could append the device name to the vrSynonyms before sending to the HMI to try and differentiate between devices? "Play music on X's Phone" vs "Play music on Y's Phone" Another approach could be to give VR priority to the app that has the higher HMI level. |
currently, in the mobile api, function <param name="vrSynonyms" type="String" maxlength="40" minsize="1" maxsize="100" array="true" mandatory="false" since="1.0">
<description>
Defines an additional voice recognition command.
May not interfere with any app name of previously registered applications and any predefined blacklist of words (global commands)
Only characters from char set [@TODO: Create char set (character/hex value) for each ACM and refer to] are supported.
</description>
</param> in the hmi api, function <param name="vrSynonyms" type="String" maxlength="40" minsize="1" maxsize="100" array="true" mandatory="false">
<description>
Request new VR synonyms registration
Defines an additional voice recognition command.
Must not interfere with any name of previously registered applications(SDL makes check).
</description>
</param> But when I searched the code base, I didn't find anything in sdl core to enforce |
The Steering Committee voted to accept this proposal with revisions. The revisions will include updating the descriptions of ttName and vrSynonyms as discussed in this comment. |
Accepted revisions were made on 11.21.18. |
Hello SDL community,
The review of "SDL 0204- Support running the same app from multiple devices at the same time" begins now and runs through November 20, 2018. The proposal is available here:
https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0204-same-app-from-multiple-devices.md
Reviews are an important part of the SDL evolution process. All reviews should be sent to the associated Github issue at:
#618
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,
Jordyn Mackool
Program Manager - Livio
jordyn@livio.io
The text was updated successfully, but these errors were encountered: