Skip to main content
J1939AppErrorIndication CAPL Functions » J1939 » J1939 NL » J1939AppErrorIndication

J1939AppErrorIndication (Callback)

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

dword J1939AppErrorIndication( long ecuHandle, long errorClass, long errorNumber, long addCode );

Description

Indicates that errors have occurred during a transfer or else during the initialization of ECUs (for example timeout during the transport protocol). If an Address Claiming procedure has failed, that will also be reported by means of this function.

Parameters

  • ecuHandle: ECU handle
  • errorClass: error class
  • errorNumber: error number
  • addCode: additional error parameter, depends on the error number (i.e. the PGN)

Return Values

Example

dword J1939AppErrorIndication( LONG ecuHdl, LONG errClass, LONG errNum, LONG addCode )
{
  /* user code */
}