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)
Name | Type | Mandatory | Additional |
---|---|---|---|
appID | Integer | true | ID of selected application |
allocatedModules | Common.ModuleData | true | Contains a list (zero or more) of module types that are allocated to the application |
freeModules | Common.ModuleData | true | Contains a list (zero or more) of module types that are free to access for the application |
```json
{
"jsonrpc": "2.0",
"method": "RC.OnRCStatus",
"params": {
"allocatedModules" : [],
"freeModules" : [
{
"moduleType" : "CLIMATE"
},
{
"moduleType" : "RADIO"
},
{
"moduleType" : "AUDIO"
},
{
"moduleType" : "LIGHT"
},
{
"moduleType" : "HMI_SETTINGS"
},
{
"moduleType" : "SEAT"
}
]
}