Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
|
Private data for the UART Exchange. More...
Public Attributes | |
struct ca821x_exchange_base | base |
Exchange base structure. More... | |
int | fd |
UART device file descriptor. More... | |
uint8_t | tx_stalled |
True if transmissions are stalled waiting for ack. More... | |
uint8_t | rx_buf [MAX_BUF_SIZE] |
Private buffer for buffering read data before full packet is received. More... | |
uint8_t | tx_buf [MAX_BUF_SIZE] |
Private buffer for buffering tx data (in case retransmit is required) More... | |
size_t | offset |
Current offset for reading into buf. More... | |
struct timespec | prev_send |
Time that previous message was sent (for timing out ack) More... | |
struct timespec | rx_start |
Time that current message receive started (for timing out receive) More... | |
int | dummy_pipe_fd [2] |
Dummy pipe fds to release from select() call when write is due. More... | |
Private data for the UART Exchange.
struct ca821x_exchange_base uart_exchange_priv::base |
Exchange base structure.
int uart_exchange_priv::dummy_pipe_fd[2] |
Dummy pipe fds to release from select() call when write is due.
int uart_exchange_priv::fd |
UART device file descriptor.
size_t uart_exchange_priv::offset |
Current offset for reading into buf.
struct timespec uart_exchange_priv::prev_send |
Time that previous message was sent (for timing out ack)
uint8_t uart_exchange_priv::rx_buf[MAX_BUF_SIZE] |
Private buffer for buffering read data before full packet is received.
struct timespec uart_exchange_priv::rx_start |
Time that current message receive started (for timing out receive)
uint8_t uart_exchange_priv::tx_buf[MAX_BUF_SIZE] |
Private buffer for buffering tx data (in case retransmit is required)
uint8_t uart_exchange_priv::tx_stalled |
True if transmissions are stalled waiting for ack.