2.4.10 CAN_TP_MessageGet()
bool CAN_TP_MessageGet (uint8_t * buffer)
Gets the message received by the CAN-TP layer.
This buffer must be at least as large as the message in the buffer.
The CAN_TP_MessageLengthGet() function can be used to determine the length if required.CAN_TP_Initialize function should have been called before calling this function. |
out | buffer |
Pointer to the buffer to copy the message into. if NULL, the message will be expired without copying it. |
bool - true if message was available, false if no message available. |