2.4.14 CAN_TP_RxMessageBufferSet()

void CAN_TP_RxMessageBufferSet (uint8_t * buffer, size_t bufferSize)

Provides the CAN-TP with a buffer to receive messages into.

The CAN-TP layer will use this buffer to receive the messages and then notify the upper layer via the event callback when the message is complete or terminated.

This is typically called in the system configuration and will not be used during the normal operation.

Precondition:

CAN_TP_Initialize function should have been called before calling this function.

Parameters:
in buffer

Pointer to data buffer to use for message storage.

in bufferSize

Size of the buffer that is being provided.

Returns:

None