ParseCANID (FUN)

 

FUNCTION ParseCANID

Parses a CANID and returns J1939 specific information

InOut:

Scope

Name

Type

Comment

Input

dwCANID

DWORD

CANID to be parsed

Output

dwPGN

DWORD

parameter group number

eType

PG_TYPE

parameter group type: broadcast or P2P

bySourceAddress

BYTE

ECU source address

byDestinationAddress

BYTE

ECU destination address