J1939GetDestAddress
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
dword J1939GetDestAddress (pg* aPG); // form 1dword J1939GetDestAddress (dword canId); // form 2
Description
Returns the value of the PDU specific field of a parameter group or CAN ID. For PDU1 messages this is the destination address.Parameters
- aPG: The function returns the destination address of this parameter group.
- canId: The function returns the destination address of this CAN ID.
Return Values
- 0..255: Destination address (PDU1 Format) / PDU Specific field (PDU2 Format).