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

VTIL_AcceptRxPG

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

long VTIL_AcceptRxPG( pg * rxPG );

Description

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

Parameters

  • rxPG: Receive parameter group

Return Values

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

Example

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