Struct 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).
variable data_length¶
Payload bytes in this frame (SF, FF, CF).
variable data_offset¶
Index of the first payload byte in the frame.
variable flow_status¶
FS (FC), not range-checked: see isotp_decode .
variable message_length¶
SF_DL (SF) or FF_DL (FF): length of the whole message.
variable sequence_number¶
SN (CF).
variable st_min¶
Raw STmin byte (FC); convert with isotp_st_min_decode .
variable type¶
ISOTP_PCI_* frame type.
The documentation for this class was generated from the following file inc/isotp_protocol.h