2.4.11 CAN_TP_MessageLengthGet()

size_t CAN_TP_MessageLengthGet (void )

Gets the length of the available message.

This returns 0 if no message is available.

Precondition:

CAN_TP_Initialize function should have been called before calling this function.

Returns:

size_t - length of the available message. 0 if no message available.