2.1.3 Definitions
#define CAN_TP_TRANSMISSION_DATA_LENGTH_MAX 8
Defined in the specification as TX_DL. Valid options are: 8 = CAN Classic 8, 12, 16, 20, 24, 32, 48, or 64 = CAN-FD.
#define CAN_TP_MESSAGE_ID_IS_EXTENDED false
Configures the message id to be extended or standard.
#define CAN_TP_MESSAGE_ID_DATA 0xA2
Configures the ID Flow Control for the message being sent.
#define CAN_TP_MESSAGE_ID_FLOW_CONTROL 0xA2
Configures the ID Data for the message being sent.
#define CAN_TP_DEFAULT_SEPARATION_TIME_MS 1
Configures the time between messages being sent.
#define CAN_TP_DEFAULT_BLOCK_SIZE 0
Configures the number of frames to send before another flow control is required.
#define CAN_TP_PAUSE_ON_FIRST_FRAME false
Configures if there is a pause on first frame. This stops any further CAN packets from being sent after the first frame until CAN-TP Rx is resumed again. Enabling this requires the use of the CAN_TP_RxResume() function to be called to continue receiving packets.