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

[Question] How does VSM relate to Lifecycle session management? #40

Open
aleksei-timofeyev opened this issue Aug 14, 2017 · 0 comments
Open

Comments

@aleksei-timofeyev
Copy link

aleksei-timofeyev commented Aug 14, 2017

From Lifecycle presentation:
Session Management
• The Node Session State (NSS) contains information about the current sessions that are active in that Head Unit and are used by the NSM state machine to determine correct actions to events
• The state of a current session can be read using the method Consumers.GetSessionState
with the name of the session and can be set using Consumers.SetSessionState (“WB – NSM – Application Blocking system shutdown”)
• Alternatively consumers can register to be signalled (“SessionStateChanged”) when a particular Session State has changed (“WB – NSM – Session State Handling”)
• To control new sessions the methods Consumers.RegisterSession and UnRegisterSession have been provided (“WB – NSM – Add new session state”)

From my point of view VSM introduces something similar to sessions in Lifecycle component.
Reverse gear controller can register "RVC" session and set session state if reverse gear is on. All involved consumers will be signalled about session state change and take needed action (turn on rear-view-camera for ex.)

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

1 participant