Skip to main content

J1939ILResetBlockedTxTpDt

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

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

Description

Resets all DT messages that were blocked with J1939ILBlockTxTpDt.

Parameters

  • node: Simulation node to apply the function.

Return Values

  • 0: OK
  • -1: General Error

Example

on start {
  long res;
  res = J1939ILBlockTxTpDt(6, 4, 0); // Block 4 packets of the TP.DT message, starting with packet no. 6.
  if(res != 0) {
    write("An error occurred: %d", res);
  }
}

on key 'a' {
  long res;
  res = J1939ILResetBlockedTxTpDt(); // Resets blocked TP.DT messages.
  if(res != 0) {
    write("An error occurred: %d", res);
  }
}