-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
Description
SubscribeButton
UnsubscribeButton
Description:
As a mobile application, I want to
- subscribe to buttons;
- unsubscribe from buttons;
- button subscriptions to be resumed after unexpected disconnect or due to new ignition cycle
Detailed description:
API changes
Remove <function name="OnButtonSubscription" messagetype="notification">.
Add new RPCs to HMI_API:
<function name="SubscribeButton" messagetype="request">
<description>
Subscribes to buttons.
</description>
<param name="appID" type="Integer" mandatory="true">
<description>The ID of the application requesting this button usubscription. </description>
</param>
<param name="buttonName" type="ButtonName" mandatory="true">
<description>Name of the button to subscribe.</description>
</param>
</function>
<function name="SubscribeButton" messagetype="response"> </function><function name="UnsubscribeButton" messagetype="request">
<description>
Unsubscribes from buttons.
</description>
<param name="appID" type="Integer" mandatory="true">
<description>The ID of the application requesting this button unsubscription. </description>
</param>
<param name="buttonName" type="ButtonName" mandatory="true">
<description>Name of the button to unsubscribe.</description>
</param>
</function>
<function name="UnsubscribeButton" messagetype="response"></function>
Diagram:
N/A
Links:
- Proposal: 0192-button_subscription_response_from_hmi.md
- Technical task: issues/2508