Struct baton_channel¶
Stop-and-wait state of the channel to one peer, both directions. More...
#include <baton_node.h>
Public Attributes¶
| Type | Name |
|---|---|
| uint8_t | fail_streak Consecutive failures (slave: ACK, master: RESP). |
| uint16_t | inflight Messages of the unacknowledged frame. |
| uint8_t | inflight_count |
| > 0: the last frame with content is not acknowledged yet. | |
| uint8_t | resp_seq Master: sequence number of the last RESP with content. |
| bool | resp_valid Master: resp_seq is valid. |
| bool | rx_last_first The last delivered frame had the FIRST flag. |
| uint8_t | rx_seq Sequence number of the last delivered frame. |
| bool | rx_valid rx_seq is valid. |
| bool | tx_first FIRST flag until the first acknowledgement after init. |
| uint8_t | tx_seq Sequence number of the next or outstanding frame. |
Detailed Description¶
Private.
Public Attributes Documentation¶
variable fail_streak¶
Consecutive failures (slave: ACK, master: RESP).
variable inflight¶
Messages of the unacknowledged frame.
variable inflight_count¶
0: the last frame with content is not acknowledged yet.
variable resp_seq¶
Master: sequence number of the last RESP with content.
variable resp_valid¶
Master: resp_seq is valid.
variable rx_last_first¶
The last delivered frame had the FIRST flag.
variable rx_seq¶
Sequence number of the last delivered frame.
variable rx_valid¶
rx_seq is valid.
variable tx_first¶
FIRST flag until the first acknowledgement after init.
variable tx_seq¶
Sequence number of the next or outstanding frame.
The documentation for this class was generated from the following file inc/baton_node.h