CL2.GetNetId (FUN)

 

This function of the CAA_CanL2.library returns the number of the CANbus line the message specified via “hMessage” was meant for.

Input:

hMessage

CAA.HANDLE

handle of message

peError

POINTER TO CL2.ERROR

pointer to error code (enumeration type)

Output:

usiNetId

USINT

number of CAN bus line