Skip to main content
Open topic with navigation CAPL Functions » ISO11783 » Virtual Terminal Interaction Layer (VT IL) » VTIL_BlockTxTpEoma

VTIL_BlockTxTpEoma

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

  • long VTIL_BlockTxTpEoma(); //Form 1
  • long VTIL_BlockTxTpEoma(dbNode node); //Form 2

Description

Prevents transmitting of the (E)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 VTIL_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 = VTIL_BlockTxTpEoma(1); // Block EoMA
  if(res != 0)
  {
    write("An error occurred: %d", res);
  }
}