Name | Type | Mandatory | Additional |
---|---|---|---|
ecuName | Integer | true | minvalue: 0 maxvalue: 65535 |
dtcMask | Integer | false | minvalue: 0 maxvalue: 255 |
appID | Integer | true |
Name | Type | Mandatory | Additional |
---|---|---|---|
ecuHeader | Integer | true | minvalue: 0 maxvalue: 65535 |
dtc | String | false | array: true minsize: 1 maxsize: 15 maxlength: 10 |
{ "id" : 139, "jsonrpc" : "2.0", "method" : "VehicleInfo.GetDTCs", "params" : { "ecuName" : 56, "dtcMask" : 84, "appID" : 65645 } }
{ "id" : 139, "jsonrpc" : "2.0", "result" : { "ecuHeader" : 6534, "dtc" : ["84752093", "28237", "748398"], "code" : 0, "method" : "VehicleInfo.GetDTCs" } }
{ "id" : 139, "jsonrpc" : "2.0", "error" : { "code" : 9, "message" : "Data not available", "data" : { "method" : "VehicleInfo.GetDTCs" } } }