public class GetDTCs extends RPCRequest
Function Group: ProprietaryData
HMILevel needs to be FULL, LIMITED or BACKGROUND
Parameter List
| Name | Type | Description | Reg. | Notes | Version |
|---|---|---|---|---|---|
| ecuName | Integer | Name of ECU. | Y | Min Value: 0; Max Value: 65535 | SmartDeviceLink 2.0 |
| dtcMask | Integer | DTC Mask Byte to be sent in diagnostic request to module. | N | Min Value: 0; Max Value: 255 | SmartDeviceLink 2.0 |
Response
Non-default Result Codes:
SUCCESS
INVALID_DATA
OUT_OF_MEMORY
TOO_MANY_PENDING_REQUESTS
APPLICATION_NOT_REGISTERED
GENERIC_ERROR
REJECTED
DISALLOWED
USER_DISALLOWED
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_DTC_MASK |
static String |
KEY_ECU_NAME |
onResponseListenerfunction, KEY_CORRELATION_ID, KEY_FUNCTION_NAME, KEY_NOTIFICATION, KEY_PARAMETERS, KEY_REQUEST, KEY_RESPONSE, messageType, parametersKEY_BULK_DATA, KEY_PROTECTED, store| Constructor and Description |
|---|
GetDTCs()
Constructs a new GetDTCs object
|
GetDTCs(Hashtable<String,Object> hash)
Constructs a new GetDTCs object indicated by the Hashtable parameter
|
GetDTCs(Integer ecuName)
Constructs a new GetDTCs object
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
getDtcMask() |
Integer |
getEcuName()
Gets a name of the module to receive the DTC form
|
GetDTCs |
setDtcMask(Integer dtcMask) |
GetDTCs |
setEcuName(Integer ecuName)
Sets a name of the module to receive the DTC form
|
getCorrelationID, getOnRPCResponseListener, setCorrelationID, setOnRPCResponseListenergetBoolean, getDouble, getFloat, getFunctionID, getFunctionName, getInteger, getLong, getMessageType, getObject, getParameters, getString, setFunctionName, setParametersclone, deserializeJSON, equals, format, formatObject, getBulkData, getMessageTypeName, getStore, getStoreValue, getValue, getValueForString, hashCode, hasKey, isPayloadProtected, serializeJSON, serializeJSON, setBulkData, setPayloadProtected, setValuepublic static final String KEY_DTC_MASK
public static final String KEY_ECU_NAME
public GetDTCs()
public GetDTCs(Hashtable<String,Object> hash)
Constructs a new GetDTCs object indicated by the Hashtable parameter
hash - The Hashtable to usepublic GetDTCs(@NonNull
Integer ecuName)
ecuName - an Integer value representing a name of the module to receive the DTC form public GetDTCs setEcuName(@NonNull Integer ecuName)
ecuName - an Integer value representing a name of the module to receive
the DTC form
Notes:
Minvalue:0; Maxvalue:65535public Integer getEcuName()
public Integer getDtcMask()