2.4.12 CAN_TP_MessageSend()

bool CAN_TP_MessageSend (const uint8_t * buffer, size_t length)

Sends a given message using CAN-TP.

Sends the specified message through the CAN-TP layer.

Precondition:

CAN_TP_Initialize function should have been called before calling this function.

Parameters:
in buffer

Pointer to a message to send.

in length

Length of the message to send.

Returns:

bool - true if able to start sending message, false if couldn't start