Skip to main content
Open topic with navigation CAPL Functions » ISO11783 » ISO11783 Interaction Layer » Iso11783IL_BlockTxTpEoma

Iso11783IL_BlockTxTpEoma

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

long Iso11783IL_BlockTxTpEoma(); // Form 1
long Iso11783IL_BlockTxTpEoma(dbNode node); // Form 2

Description

Prevents transmitting of the TP.EoMA (End Of Message Acknowledgement) message generated and sent by the interaction layer. The EoMA message is blocked every time until the CAPL function Iso11783IL_ResetBlockedTxTpEoma is called. After blocking the EoMA message, the Interaction Layer silently closes the connection without sending further messages.

Parameters

  • node: Simulation node to apply the function.

Return Values

  • 0: OK
  • -3001: General Error

Example

on start {
  long res;
  res = Iso11783IL_BlockTxTpEoma(1); // Block EoMA
  if(res != 0) {
    write("An error occurred: %d", res);
  }
}