Skip to main content

J1939SetDestAddress

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

void J1939SetDestAddress (pg* aPG, dword destinationAddress);

Description

Sets the PDU specific field of a parameter group or CAN ID. For PDU1 messages this is the destination address.

Parameters

  • aPG: Destination address of this parameter group is set.
  • destinationAddress: New destination address (PDU1 Format) or PDU Specific field (PDU2 Format). A value bigger than 255 is truncated.

Return Values

Example

J1939 General Functions