Skip to main content
Open topic with navigation

J1939GetLastErrorText

CAPL Functions » J1939 » J1939 NL » J1939GetLastErrorText Valid for: CANoe DE • CANoe4SW DE

Function Syntax

dword J1939GetLastErrorText( dword bufferSize, char buffer[] );

Description

This function gets the description of the last occurred error.

Parameters

  • bufferSize: size of buffer for error description
  • buffer: contains the error description

Return Values

Number of characters that are copied to buffer

Example

dword size = 100;
char errText[size];

J1939GetLastErrorText(size, errText);