Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
HMI Documentation
OnRCStatus

OnRCStatus

Type
Notification
Sender
SDL
Purpose
Inform HMI and mobile application about changes in RC module allocation.

Notification

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.

Parameters

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

Sequence Diagrams

JSON Message Examples

Example Notification

{
    "jsonrpc": "2.0",
    "method": "RC.OnRCStatus",
    "params": {
        "allocatedModules": [],
        "freeModules": [{
                "moduleType": "CLIMATE"
            },
            {
                "moduleType": "RADIO"
            },
            {
                "moduleType": "AUDIO"
            },
            {
                "moduleType": "LIGHT"
            },
            {
                "moduleType": "HMI_SETTINGS"
            },
            {
                "moduleType": "SEAT"
            }
        ],
        "appID" : 65368
    }
}
View on GitHub.com
Previous Section Next Section