SDL must send OnRCStatus notification when:
* RC application registers with SDL
* A module is allocated to an application
* A module is de-allocated from an application (the module is freed when application exits, disconnects, goes to HMI level NONE)
* An application no longer has the right to control the module (for example, a policy update can revoke the application's access to a module)
SDL must always include moduleId
for each and every ModuleData
in allocatedModules
and freeModules
in OnRCStatus notification.
Name | Type | Mandatory | Additional | Description |
---|---|---|---|---|
appID | Integer | true | ID of selected application | |
allocatedModules | Common.ModuleData | true | array: true minsize: 0 maxsize: 100 |
Contains a list (zero or more) of module types that are allocated to the application |
freeModules | Common.ModuleData | true | array: true minsize: 0 maxsize: 100 |
Contains a list (zero or more) of module types that are free to access for the application |
{ "jsonrpc": "2.0", "method": "RC.OnRCStatus", "params": { "allocatedModules": [], "freeModules": [{ "moduleType": "CLIMATE" }, { "moduleType": "RADIO" }, { "moduleType": "AUDIO" }, { "moduleType": "LIGHT" }, { "moduleType": "HMI_SETTINGS" }, { "moduleType": "SEAT" } ], "appID" : 65368 } }