Skip to main content

TestWaitForLinCSError

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

Description

Waits for a checksum error for the specified amount of time. Note
Consider to set always the appropriate bus context in a multibus environment before the function is called. Further information on site MultiBus Environment.

Parameters

  • aTimeout: Maximum time that should be waited [ms]. Transmission of 0: no timeout controlling.
  • aFrameId: Frame identifier

Return Values

  • -2: Resume due to constraint violation
  • -1: General error, e.g., functionality is not available
  • 0: Resume due to timeout
  • 1: Resume due to event occurred

Example

TestGetWaitLinCSErrorDataTestJoinLinCSErrorEvent