GetCapabilities is a request originated by SDL Core after receiving an IsReady
Response from the Remote Control interface. If the HMI responds to GetCapabilities with the RemoteControlCapabilities
parameter, this struct will overwrite any Remote Control related capabilities that are stored in the hmi_capabilities.json
configuration file.
The RemoteControlCapabilities
struct will be stored by SDL Core, and used when a mobile application performs a GetSystemCapability
request.
This RPC has no additional parameter requirements
moduleInfo
with moduleID
for each module of all module types in GetCapabilities response to SDL if it supports multiple modules per module type. moduleID
for the moduleType and publish it as the first item in RemoteControlCapabilities.Name | Type | Mandatory | Description |
---|---|---|---|
remoteControlCapability | Common.RemoteControlCapabilities | false | See RemoteControlCapabilities, all available RC modules and buttons shall be returned |
seatLocationCapability | Common.SeatLocationCapability | false | See SeatLocationCapability, all available seat locations shall be returned. |
{ "id":22, "jsonrpc":"2.0", "method":"RC.GetCapabilities" }
{ "id": 22, "jsonrpc": "2.0", "result": { "code": 0, "method": "RC.GetCapabilities", "remoteControlCapability": { "buttonCapabilities": [ { "longPressAvailable": true, "name": "AC_MAX", "shortPressAvailable": true, "upDownAvailable": true }, { "longPressAvailable": true, "name": "AC", "shortPressAvailable": true, "upDownAvailable": true }, { "longPressAvailable": true, "name": "RECIRCULATE", "shortPressAvailable": true, "upDownAvailable": true }, { "longPressAvailable": true, "name": "FAN_UP", "shortPressAvailable": true, "upDownAvailable": true }, { "longPressAvailable": true, "name": "FAN_DOWN", "shortPressAvailable": true, "upDownAvailable": true }, { "longPressAvailable": true, "name": "TEMP_UP", "shortPressAvailable": true, "upDownAvailable": true }, { "longPressAvailable": true, "name": "TEMP_DOWN", "shortPressAvailable": true, "upDownAvailable": true }, { "longPressAvailable": true, "name": "DEFROST_MAX", "shortPressAvailable": true, "upDownAvailable": true }, { "longPressAvailable": true, "name": "DEFROST", "shortPressAvailable": true, "upDownAvailable": true }, { "longPressAvailable": true, "name": "DEFROST_REAR", "shortPressAvailable": true, "upDownAvailable": true }, { "longPressAvailable": true, "name": "UPPER_VENT", "shortPressAvailable": true, "upDownAvailable": true }, { "longPressAvailable": true, "name": "LOWER_VENT", "shortPressAvailable": true, "upDownAvailable": true }, { "longPressAvailable": true, "name": "VOLUME_UP", "shortPressAvailable": true, "upDownAvailable": true }, { "longPressAvailable": true, "name": "VOLUME_DOWN", "shortPressAvailable": true, "upDownAvailable": true }, { "longPressAvailable": true, "name": "EJECT", "shortPressAvailable": true, "upDownAvailable": true }, { "longPressAvailable": true, "name": "SOURCE", "shortPressAvailable": true, "upDownAvailable": true }, { "longPressAvailable": true, "name": "SHUFFLE", "shortPressAvailable": true, "upDownAvailable": true }, { "longPressAvailable": true, "name": "REPEAT", "shortPressAvailable": true, "upDownAvailable": true } ], "climateControlCapabilities": [ { "acEnableAvailable": true, "acMaxEnableAvailable": true, "autoModeEnableAvailable": true, "circulateAirEnableAvailable": true, "currentTemperatureAvailable": true, "defrostZone": [ "FRONT", "REAR", "ALL", "NONE" ], "defrostZoneAvailable": true, "desiredTemperatureAvailable": true, "dualModeEnableAvailable": true, "fanSpeedAvailable": true, "moduleName": "Climate", "ventilationMode": [ "UPPER", "LOWER", "BOTH", "NONE" ], "ventilationModeAvailable": true } ], "radioControlCapabilities": [ { "availableHDsAvailable": true, "hdChannelAvailable": true, "moduleName": "Radio", "radioBandAvailable": true, "radioEnableAvailable": true, "radioFrequencyAvailable": true, "rdsDataAvailable": true, "signalChangeThresholdAvailable": true, "signalStrengthAvailable": true, "stateAvailable": true } ] } } }
{ "id" : 22, "jsonrpc" : "2.0", "error" : { "code" : 22, "message" : "During API call the unknown error has occurred", "data" : { "method" : "RC.GetCapabilities" } } }