|
HERMES Modem
Hermes ARQ/Broadcast modem
|
#include <arq_fsm.h>
Data Fields | |
| void(* | send_tx_frame )(int packet_type, int mode, size_t frame_size, const uint8_t *frame) |
| Enqueue a complete TX frame to the modem action queue. | |
| void(* | notify_connected )(const char *remote_call) |
| Notify TCP interface that a connection is established. | |
| void(* | notify_pending )(const char *remote_call) |
| Notify TCP interface of an incoming call that is pending acceptance. | |
| void(* | notify_cancelpending )(void) |
| Notify TCP interface that a pending incoming call did not complete. | |
| void(* | notify_disconnected )(bool to_no_client) |
| Notify TCP interface of disconnection. | |
| void(* | deliver_rx_data )(const uint8_t *data, size_t len) |
| Deliver received data bytes to the TCP data stream. | |
| int(* | tx_backlog )(void) |
| Return bytes available in the TX buffer. | |
| int(* | tx_read )(uint8_t *buf, size_t len) |
| Read up to len bytes from the TX buffer; returns bytes actually read. | |
| void(* | send_buffer_status )(int backlog_bytes) |
| Send BUFFER status (bytes remaining) to TCP interface. | |
| void(* arq_fsm_callbacks_t::deliver_rx_data) (const uint8_t *data, size_t len) |
Deliver received data bytes to the TCP data stream.
| void(* arq_fsm_callbacks_t::notify_cancelpending) (void) |
Notify TCP interface that a pending incoming call did not complete.
| void(* arq_fsm_callbacks_t::notify_connected) (const char *remote_call) |
Notify TCP interface that a connection is established.
| void(* arq_fsm_callbacks_t::notify_disconnected) (bool to_no_client) |
Notify TCP interface of disconnection.
| to_no_client | true = client disconnected too; clear arq_conn. |
| void(* arq_fsm_callbacks_t::notify_pending) (const char *remote_call) |
Notify TCP interface of an incoming call that is pending acceptance.
| void(* arq_fsm_callbacks_t::send_buffer_status) (int backlog_bytes) |
Send BUFFER status (bytes remaining) to TCP interface.
| void(* arq_fsm_callbacks_t::send_tx_frame) (int packet_type, int mode, size_t frame_size, const uint8_t *frame) |
Enqueue a complete TX frame to the modem action queue.
| int(* arq_fsm_callbacks_t::tx_backlog) (void) |
Return bytes available in the TX buffer.
| int(* arq_fsm_callbacks_t::tx_read) (uint8_t *buf, size_t len) |
Read up to len bytes from the TX buffer; returns bytes actually read.