J1939ILBlockTxTpCts
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
long J1939ILBlockTxTpCts(long ctsToBlock); //Form 1long J1939ILBlockTxTpCts(dbNode node, long ctsToBlock); //Form 2
Description
Prevents transmitting of a TP.CTS message generated and sent by the interaction layer. The message to be blocked is identified by its occurrences on the bus, starting at 1. The given CTS message is blocked every time until the CAPL function J1939ILResetBlockedTxTpCts is called. After blocking the CTS message, the Interaction Layer silently closes the connection without sending further messages since the connection state is corrupted.Parameters
- ctsToBlock: The CTS message that shall be blocked.
- node: Simulation node to apply the function.
Return Values
- 0: OK
- -3001: General Error
- -3002: Parameter ctsToBlock must be greater than 0