CL2.GetMessageLength (FUN)

 

This function of the CAA_CanL2.library returns the number of data bytes in a specified message.

Input:

hMessage

CAA.HANDLE

handle of message

peError

POINTER TO CL2.ERROR

pointer to error code (enumeration type)

Output:

usiLength

USINT

number of data bytes in message