diagCheckValidNegResCode
Valid for: CANoe DEFunction Syntax
Method Syntax
Description
The functions return 1 if the given negative response code is defined for the object. It returns 0 if the code is not valid, and< 0 for an error. In the one-argument form, the response object has to be a negative response.
Parameters
- obj: Diagnostics object to check the response code for.
- negResCode: Negative response code like 0x11, “serviceNotSupported” (KWP 2000).
Return Values
- 1: Code is defined for the object in the CDD.
- 0: Code is not defined for the object in the CDD.