Skip to content
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 does not send revert RC.SetGlobalProperties requests to HMI during revert of resumption in case of erroneous response type #3667

Closed
VjKlepikov opened this issue Mar 18, 2021 · 3 comments

Comments

@VjKlepikov
Copy link

VjKlepikov commented Mar 18, 2021

Bug Report

SDL does not send revert RC.SetGlobalProperties requests to HMI during revert of resumption in case of erroneous response type

Precondition:

1. Start SDL and HMI.
2. Connect mobile device via any transport.
3. Mobile application is registered and activated.
4. Mobile application successfully sends SetGlobalProperties(UI, TTS, RC)
...
 SetGlobalProperties { "userLocation":{"grid": {"col":2, "level":2,"row":2, "colspan":1,"levelspan":1, "rowspan":1 }
5. On HMI go to "Setting -> RPC Control -> App name -> UI.SetGlobalProperties
   Set ERROR resultCode (ex. GENERIC_ERROR ) from the drop-down list and click "Back" button
6. Perform unexpected disconnect and then reconnect (with correct hashId)
 Mobile application is unregistered with unexpectedDisconnect=true during transport disconnect
 Mobile application is registered with actual hashID
  => SDL starts resumption procedure
 [Interface(UI/VR/RC)].[ SetGlobalProperties ] is sent from SDL to HMI during resumption for application.
Reproduction Steps

HMI responds with an erroneous type of response ( ERROR resultCode ( ex. GENERIC_ERROR))
to UI.SetGlobalProperties and request from SDL
1. SDL→HMI: UI.SetGlobalProperties ( params )
2. SDL→HMI: TTS.SetGlobalProperties ( params )
3. SDL→HMI: RC.SetGlobalProperties
{ "userLocation":{"grid":{"col":2, "level":2,"row":2, "colspan":1,"levelspan":1, "rowspan":1 }}}
4. HMI→SDL: TTS.SetGlobalProperties ( resultCode: SUCCESS )
5. HMI→SDL: RC.SetGlobalProperties ( resultCode: SUCCESS )
6. HMI→SDL: UI.SetGlobalProperties ( resultCode = ( ex. GENERIC_ERROR) )

Expected Behavior

Remove already restored data
Send set of revert <Rpc_n> requests to HMI (except the one related to response)
1. SDL→HMI: TTS.SetGlobalProperties ( default params )
2. SDL sends revert RC.SetGlobalProperties request with default driver seat location properties to HMI
SDL→HMI: RC.SetGlobalProperties (
{ "userLocation":{"grid":{"col":0, "level":0,"row":0, "colspan":1,"levelspan":1, "rowspan":1 }}}
Note: Mobile app received respond RegisterAppInterfaceResponse( success=true, result_code=RESUME_FAILED )

Observed Behavior

Remove already restored data
Send set of revert <Rpc_n> requests to HMI (except the one related to response)
1. SDL→HMI: TTS.SetGlobalProperties ( default params )
2. SDL does not send revert RC.SetGlobalProperties requests with default driver seat location properties to HMI

SDL_HMI_Logs:

SDL_HMI_Log.zip

OS & Version Information
@jordynmackool
Copy link

jordynmackool commented Mar 18, 2021

Hi @VjKlepikov, please advise if Luxoft plans to submit a fix for this reported issue or if Livio can begin working on a PR/ investigating this issue.

@ShobhitAd
Copy link
Contributor

Hey @VjKlepikov @jordynmackool, I was able to reproduce the issue on my end and I'm working on a fix for it

@ShobhitAd
Copy link
Contributor

Closed via #3673

@Jack-Byrne Jack-Byrne mentioned this issue Apr 13, 2021
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants