ParseCANID (FUN)
FUNCTION ParseCANID
Parses a CANID and returns J1939 specific information
- InOut:
Scope
Name
Type
Comment
Input
dwCANIDDWORDCANID to be parsed
Output
dwPGNDWORDparameter group number (for P2P: PDU specific will be set to 0; see by DestinationAddress)
eTypeparameter group type: broadcast or P2P
bySourceAddressBYTEECU source address
byDestinationAddressBYTEECU destination address (only valid for P2P)
byPriorityBYTEJ1939 priority