Skip to content

Struct isotp_pdu

ClassList > isotp_pdu

One decoded ISO-TP frame (protocol data unit). More...

  • #include <isotp_protocol.h>

Public Attributes

Type Name
uint8_t block_size
BS (FC).
uint8_t data_length
Payload bytes in this frame (SF, FF, CF).
uint8_t data_offset
Index of the first payload byte in the frame.
uint8_t flow_status
FS (FC), not range-checked: see isotp_decode .
uint32_t message_length
SF_DL (SF) or FF_DL (FF): length of the whole message.
uint8_t sequence_number
SN (CF).
uint8_t st_min
Raw STmin byte (FC); convert with isotp_st_min_decode .
uint8_t type
ISOTP_PCI_* frame type.

Detailed Description

Only the members of the decoded frame type are meaningful; the others are zero. The payload is not copied: it is frame[data_offset] .. frame[data_offset + data_length - 1] of the frame passed to isotp_decode.

Public Attributes Documentation

variable block_size

BS (FC).

uint8_t isotp_pdu::block_size;


variable data_length

Payload bytes in this frame (SF, FF, CF).

uint8_t isotp_pdu::data_length;


variable data_offset

Index of the first payload byte in the frame.

uint8_t isotp_pdu::data_offset;


variable flow_status

FS (FC), not range-checked: see isotp_decode .

uint8_t isotp_pdu::flow_status;


variable message_length

SF_DL (SF) or FF_DL (FF): length of the whole message.

uint32_t isotp_pdu::message_length;


variable sequence_number

SN (CF).

uint8_t isotp_pdu::sequence_number;


variable st_min

Raw STmin byte (FC); convert with isotp_st_min_decode .

uint8_t isotp_pdu::st_min;


variable type

ISOTP_PCI_* frame type.

uint8_t isotp_pdu::type;



The documentation for this class was generated from the following file inc/isotp_protocol.h