-
Notifications
You must be signed in to change notification settings - Fork 21
/
isotp_config.h
40 lines (31 loc) · 1.13 KB
/
isotp_config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#ifndef __ISOTP_CONFIG__
#define __ISOTP_CONFIG__
/* Max number of messages the receiver can receive at one time, this value
* is affected by can driver queue length
*/
#define ISO_TP_DEFAULT_BLOCK_SIZE 8
/* The STmin parameter value specifies the minimum time gap allowed between
* the transmission of consecutive frame network protocol data units
*/
#define ISO_TP_DEFAULT_ST_MIN_US 0
/* This parameter indicate how many FC N_PDU WTs can be transmitted by the
* receiver in a row.
*/
#define ISO_TP_MAX_WFT_NUMBER 1
/* Private: The default timeout to use when waiting for a response during a
* multi-frame send or receive.
*/
#define ISO_TP_DEFAULT_RESPONSE_TIMEOUT_US 100000
/* Private: Determines if by default, padding is added to ISO-TP message frames.
*/
//#define ISO_TP_FRAME_PADDING
/* Private: Value to use when padding frames if enabled by ISO_TP_FRAME_PADDING
*/
#ifndef ISO_TP_FRAME_PADDING_VALUE
#define ISO_TP_FRAME_PADDING_VALUE 0xAA
#endif
/* Private: Determines if by default, an additional argument is present in the
* definition of isotp_user_send_can.
*/
//#define ISO_TP_USER_SEND_CAN_ARG
#endif