Zephyr API 3.6.99
Loading...
Searching...
No Matches
isotp_msg_id Struct Reference

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.
 

Detailed Description

ISO-TP message id struct.

Used to pass addresses to the bind and send functions.

Field Documentation

◆ [union]

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.

◆ dl

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.

◆ ext_addr

uint8_t isotp_msg_id::ext_addr

ISO-TP extended address (if used)

◆ ext_id

uint32_t isotp_msg_id::ext_id

◆ flags

uint8_t isotp_msg_id::flags

Flags.

See also
ISOTP_MSG_FLAGS.

◆ std_id

uint32_t isotp_msg_id::std_id

The documentation for this struct was generated from the following file: