Skip to main content

J1939IsPDU2

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

dword J1939IsPDU2 (dword canId);

Description

Checks if the parameter group number (PGN) contained in the CAN ID has the PDU Format 2.

Parameters

  • canId: CAN ID to check.

Return Values

  • 0: PGN is PDU Format 1.
  • 1: PGN is PDU Format 2.

Example

J1939IsPDU1