Struct isotp_link¶
Link state. More...
#include <isotp_link.h>
Public Attributes¶
| Type | Name |
|---|---|
| struct isotp_link_config | config Copy of the configuration. |
| uint32_t | invalid_frames Malformed frames ignored. |
| uint8_t | rx_block_count CFs left until the next Flow Control. |
| uint8_t | rx_buffer Message being received. |
| uint32_t | rx_deadline_us N_Cr expiry. |
| uint32_t | rx_offset Bytes already received. |
| int | rx_result N_Result of the last reception. |
| uint32_t | rx_size Announced message length. |
| uint8_t | rx_sn Expected SN. |
| enum isotp_rx_state | rx_state Receiver state. |
| uint8_t | tx_block_remaining CFs left in the current block. |
| bool | tx_block_unlimited Receiver granted BS = 0. |
| uint8_t | tx_buffer Message being sent. |
| uint32_t | tx_deadline_us N_Bs expiry or time of the next CF. |
| uint32_t | tx_offset Bytes already sent. |
| int | tx_result N_Result of the last transmission. |
| uint32_t | tx_size Length of the message being sent. |
| uint8_t | tx_sn SN of the next Consecutive Frame. |
| uint32_t | tx_st_min_us STmin granted by the receiver. |
| enum isotp_tx_state | tx_state Transmitter state. |
| uint8_t | tx_wft_count Wait frames received in a row. |
Detailed Description¶
Treat the members as private; use the functions below.
Public Attributes Documentation¶
variable config¶
Copy of the configuration.
variable invalid_frames¶
Malformed frames ignored.
variable rx_block_count¶
CFs left until the next Flow Control.
variable rx_buffer¶
Message being received.
variable rx_deadline_us¶
N_Cr expiry.
variable rx_offset¶
Bytes already received.
variable rx_result¶
N_Result of the last reception.
variable rx_size¶
Announced message length.
variable rx_sn¶
Expected SN.
variable rx_state¶
Receiver state.
variable tx_block_remaining¶
CFs left in the current block.
variable tx_block_unlimited¶
Receiver granted BS = 0.
variable tx_buffer¶
Message being sent.
variable tx_deadline_us¶
N_Bs expiry or time of the next CF.
variable tx_offset¶
Bytes already sent.
variable tx_result¶
N_Result of the last transmission.
variable tx_size¶
Length of the message being sent.
variable tx_sn¶
SN of the next Consecutive Frame.
variable tx_st_min_us¶
STmin granted by the receiver.
variable tx_state¶
Transmitter state.
variable tx_wft_count¶
Wait frames received in a row.
The documentation for this class was generated from the following file inc/isotp_link.h