smartdevicelink / sdl_requirements

Collection of requirements/technical tasks for new sdl_core features
BSD 3-Clause "New" or "Revised" License
2 stars 7 forks source link

[RC-SDL] - Update OnRCStatus with a new `allowed` parameter #86

Open KhrystynaDubovyk opened 6 years ago

KhrystynaDubovyk commented 6 years ago

OnRCStatus

Description:

As a mobile application, I want immediately to be notified about changes of the settings "Enable Remote Control" on HMI.

Detailed description:

Adding a new parameter allowed to Mobile API

    <element name="OnRCStatusID" value="32785" hexvalue="8011" />

    ....
    <function name="OnRCStatus" functionID="OnRCStatusID" messagetype="notification">
      <description>Issued by SDL to notify the application about remote control status change on SDL</description>
+     <param name="allowed" type="Boolean" mandatory="false" >
+       <description>If "true" - RC is allowed; if "false" - RC is disallowed.
+                    Not present in the notification in case by module allocation/deallocation.
+                    Present in notification in cases enabling/disabling RC or RC-app registration.
+       </description>
+     </param>
      <param name="allocatedModules" type="ModuleData" minsize="0" maxsize="100" array="true" mandatory="true">
        <description>Contains a list (zero or more) of module types that are allocated to the application.</description>
      </param>
      <param name="freeModules" type="ModuleData" minsize="0" maxsize="100" array="true" mandatory="true">
        <description>Contains a list (zero or more) of module types that are free to access for the application.</description>
      </param>
    </function>

Diagram:

N/A

Links: