HERMES Modem
Hermes ARQ/Broadcast modem
Loading...
Searching...
No Matches
Data Fields
arq_fsm_callbacks_t Struct Reference

#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_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.
 

Field Documentation

◆ deliver_rx_data

void(* arq_fsm_callbacks_t::deliver_rx_data) (const uint8_t *data, size_t len)

Deliver received data bytes to the TCP data stream.

◆ notify_connected

void(* arq_fsm_callbacks_t::notify_connected) (const char *remote_call)

Notify TCP interface that a connection is established.

◆ notify_disconnected

void(* arq_fsm_callbacks_t::notify_disconnected) (bool to_no_client)

Notify TCP interface of disconnection.

Parameters
to_no_clienttrue = client disconnected too; clear arq_conn.

◆ send_buffer_status

void(* arq_fsm_callbacks_t::send_buffer_status) (int backlog_bytes)

Send BUFFER status (bytes remaining) to TCP interface.

◆ send_tx_frame

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.

◆ tx_backlog

int(* arq_fsm_callbacks_t::tx_backlog) (void)

Return bytes available in the TX buffer.

◆ tx_read

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.


The documentation for this struct was generated from the following file: