DoIP_SetNextDiagnosticMessageNACKCode
Valid for: CANoe DE NoteThe following DoIP CAPL function is only available with the modeling library DoIP.dll and eventually an appropriate implementation of the CAPL Callback Interface. Information about the DoIP DLL and the CAPL Callback Interface you find here:
Function Syntax
Description
Sets the next return code sent in the acknowledgment for a diagnostic message received. The code is reset to 0 (positive) after usage. NoteValues other than 0 let the peer assume that transmission failed, i.e. error handling is necessary by the peer.
Parameters
- NACKCode
ISO 13400 defines these values (amongst others):- 0: Positive (default)
- 2: Invalid source address
- 3: Unknown target address