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

Iso11783IL_AcceptRxPG

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

  • long Iso11783IL_AcceptRxPG( pg * rxPG ); // form 1
  • long Iso11783IL_AcceptRxPG( dbNode node, pg * rxPG ); // from 2

Description

Checks if the received parameter group is addressed to the ISO11783 IL.

Parameters

  • rxPG: Receive parameter group.
  • node: Simulation node to apply the function.

Return Values

  • < 0: Error code
  • 0: Parameter group is not address to the IL
  • 1: Parameter group is address to the IL

Example

on pg TPRS
{
  if (Iso11783IL_AcceptRxPG( this ) <= 0) return;
  // ...
}