Zephyr API Documentation 4.0.0-rc2
A Scalable Open Source RTOS
|
ISO-TP message id struct. More...
#include <isotp.h>
Data Fields | ||
union { | ||
uint32_t std_id: 11 | ||
uint32_t ext_id: 29 | ||
}; | ||
CAN identifier. | ||
uint8_t | ext_addr | |
ISO-TP extended address (if used) | ||
uint8_t | dl | |
ISO-TP frame data length (TX_DL for TX address or RX_DL for RX address). | ||
uint8_t | flags | |
Flags. | ||
ISO-TP message id struct.
Used to pass addresses to the bind and send functions.
union { ... } isotp_msg_id |
CAN identifier.
If ISO-TP fixed addressing is used, isotp_bind ignores SA and priority sections and modifies TA section in flow control frames.
uint8_t isotp_msg_id::dl |
ISO-TP frame data length (TX_DL for TX address or RX_DL for RX address).
Valid values are 8 for classical CAN or 8, 12, 16, 20, 24, 32, 48 and 64 for CAN FD.
0 will be interpreted as 8 or 64 (if ISOTP_MSG_FDF is set).
The value for incoming transmissions (RX_DL) is determined automatically based on the received first frame and does not need to be set during initialization.
uint8_t isotp_msg_id::ext_addr |
ISO-TP extended address (if used)
uint32_t isotp_msg_id::ext_id |
uint8_t isotp_msg_id::flags |
Flags.
uint32_t isotp_msg_id::std_id |