RC.GetInteriorVehicleDataConsent is sent to the HMI if:
1. The access mode is ASK_DRIVER
and
2. An application (in HMILevel FULL) requests access to an RC module that is already in use by another application.
The AUTO_ALLOW
and AUTO_DENY
RC access modes are automatically handled by SDL. For more information about consent rules, see the Remote Control Consent section.
The HMI is expected to display a permission prompt to the driver showing the RC module and app details (for example, app's name).
The driver is expected to have an ability to grant or deny the permission.
BC.OnResetTimeout
notification to SDL to reset the timeout in case HMI needs more time to process the RC.GetInteriorVehicleDataConsent
request.Name | Type | Mandatory | Additional | Description |
---|---|---|---|---|
moduleType | Common.ModuleType | true | The module type that the app requests to control | |
moduleIds | String | false | array: true maxlength: 100 |
Ids of a module of same type, published by System Capability |
appID | Integer | true | ID of the application that triggers the permission prompt |
Name | Type | Mandatory | Additional | Description |
---|---|---|---|---|
allowed | Boolean | true | array: true | "true" - if the driver grants the permission for controlling to the named app; "false" - in case the driver denies the permission for controlling to the named app. |
{ "id": 38, "jsonrpc": "2.0", "method": "RC.GetInteriorVehicleDataConsent", "params": { "appID": 2032286926, "moduleType": "CLIMATE" } }
{ "id": 38, "jsonrpc": "2.0", "result": { "allowed": [true, false], "code": 0, "method": "RC.GetInteriorVehicleDataConsent" } }
{ "error": { "code": 10, "data": { "method": "RC.GetInteriorVehicleDataConsent" }, "message": "No response from driver" }, "id": 38, "jsonrpc": "2.0" }