Name | Type | Mandatory | Additional |
---|---|---|---|
gps | Boolean | false | |
speed | Boolean | false | |
rpm | Boolean | false | |
fuelLevel | Boolean | false | |
fuelLevel_State | Boolean | false | |
instantFuelConsumption | Boolean | false | |
externalTemperature | Boolean | false | |
prndl | Boolean | false | |
tirePressure | Boolean | false | |
odometer | Boolean | false | |
beltStatus | Boolean | false | |
bodyInformation | Boolean | false | |
deviceStatus | Boolean | false | |
driverBraking | Boolean | false | |
wiperStatus | Boolean | false | |
headLampStatus | Boolean | false | |
engineTorque | Boolean | false | |
accPedalPosition | Boolean | false | |
steeringWheelAngle | Boolean | false | |
eCallInfo | Boolean | false | |
airbagStatus | Boolean | false | |
emergencyEvent | Boolean | false | |
clusterModeStatus | Boolean | false | |
myKey | Boolean | false | |
turnSignal | Boolean | false | |
fuelRange | Boolean | false | |
engineOilLife | Boolean | false | |
electronicParkBrakeStatus | Boolean | false | |
cloudAppVehicleID | Boolean | false | |
gearStatus | Boolean | false | |
stabilityControlsStatus | Boolean | false | |
windowStatus | Boolean | false | |
handsOffSteering | Boolean | false | |
seatOccupancy | Boolean | false | |
climateData | Boolean | false |
BC.OnResetTimeout
notification to SDL to reset the timeout in case HMI needs more time to process the request.For OEM specific custom vehicle data items, oemCustomDataType
will contain a type of OEM specific vehicle data (from schema), and dataType
will be VEHICLEDATA_OEM_CUSTOM_DATA
.
For vehicle data items from RPCSpec, oemCustomDataType
will be omitted, and dataType
will contain appropriate data type from VehicleDataType
enum.
If multiple applications are trying to restore the same subscription, SDL should send the only first subscription to HMI. If the first subscription was failed and application received result_code=RESUME_FAILED
, for the second application SDL should also try to restore the subscription.
{ "id" : 139, "jsonrpc" : "2.0", "method" : "VehicleInfo.SubscribeVehicleData", "params" : { "gps" : true, "speed" : true, "fuelLevel_State" : true, "externalTemperature" : true, "prndl" : true, "tirePressure" : true, "odometer" : true, "beltStatus" : true, "bodyInformation" : true, "deviceStatus" : true, "wiperStatus" : true, "headLampStatus" : true, "accPedalPosition" : true } }
{ "id" : 139, "jsonrpc" : "2.0", "result" : { "gps" : { "dataType" : "VEHICLEDATA_GPS", "resultCode" : "SUCCESS" }, "speed" : { "dataType" : "VEHICLEDATA_SPEED", "resultCode" : "DATA_ALREADY_SUBSCRIBED" }, "fuelLevel_State" : { "dataType" : "VEHICLEDATA_FUELLEVEL", "resultCode" : "SUCCESS" }, "externalTemperature" : { "dataType" : "VEHICLEDATA_EXTERNTEMP", "resultCode" : "VEHICLE_DATA_NOT_AVAILABLE" }, "prndl" : { "dataType" : "VEHICLEDATA_PRNDL", "resultCode" : "VEHICLE_DATA_NOT_AVAILABLE" }, "tirePressure" : { "dataType" : "VEHICLEDATA_TIREPRESSURE", "resultCode" : "SUCCESS" }, "odometer" : { "dataType" : "VEHICLEDATA_ODOMETER", "resultCode" : "SUCCESS" }, "beltStatus" : { "dataType" : "VEHICLEDATA_BELTSTATUS", "resultCode" : "SUCCESS" }, "bodyInformation" : { "dataType" : "VEHICLEDATA_BODYINFO", "resultCode" : "SUCCESS" }, "deviceStatus" : { "dataType" : "VEHICLEDATA_DEVICESTATUS", "resultCode" : "DATA_ALREADY_SUBSCRIBED" }, "wiperStatus" : { "dataType" : "VEHICLEDATA_WIPERSTATUS", "resultCode" : "SUCCESS" }, "headLampStatus" : { "dataType" : "VEHICLEDATA_HEADLAMPSTATUS", "resultCode" : "SUCCESS" }, "accPedalPosition" : { "dataType" : "VEHICLEDATA_ACCPEDAL", "resultCode" : "VEHICLE_DATA_NOT_AVAILABLE" }, "code" : 0, "method" : "VehicleInfo.SubscribeVehicleData" } }
{ "id" : 139, "jsonrpc" : "2.0", "error" : { "code" : 6, "message" : "All of requested data types is subscribed already", "data" : { "method" : "VehicleInfo.SubscribeVehicleData" } } }