spandsp 3.0.0
|
#include <t31.h>
Public Attributes | |
at_state_t | at_state |
t31_modem_control_handler_t | modem_control_handler |
void * | modem_control_user_data |
t31_audio_front_end_state_t | audio |
t31_t38_front_end_state_t | t38_fe |
bool | t38_mode |
struct { | |
uint8_t buf [284] | |
The HDLC transmit buffer. | |
int len | |
int ptr | |
bool final | |
True when the end of HDLC data from the computer has been detected. | |
} | hdlc_tx |
struct { | |
uint8_t buf [(4096)] | |
The transmit buffer. | |
int in_bytes | |
The number of bytes stored in the transmit buffer. | |
int out_bytes | |
The number of bytes sent from the transmit buffer. | |
bool data_started | |
True if the flow of real data has started. | |
bool holding | |
True if holding up further data into the buffer, for flow control. | |
bool final | |
True when the end of non-ECM data from the computer has been detected. | |
} | non_ecm_tx |
bool | dled |
int | silence_awaited |
Samples of silence awaited, as specified in a "wait for silence" command. | |
int | bit_rate |
The current bit rate for the FAX fast message transfer modem. | |
bool | rx_frame_received |
True if a valid HDLC frame has been received in the current reception period. | |
int64_t | call_samples |
Samples elapsed in the current call. | |
int64_t | dte_data_timeout |
int | modem |
The currently queued modem type. | |
bool | short_train |
True when short training mode has been selected by the computer. | |
queue_state_t * | rx_queue |
logging_state_t | logging |
Error and flow logging control. |
T.31 descriptor. This defines the working state for a single instance of a T.31 FAX modem.
uint8_t t31_state_s::buf[(4096)] |
The HDLC transmit buffer.
The transmit buffer.
bool t31_state_s::dled |
True if DLE prefix just used
bool t31_state_s::final |
True when the end of HDLC data from the computer has been detected.
True when the end of non-ECM data from the computer has been detected.
struct { ... } t31_state_s::hdlc_tx |
HDLC buffer, for composing an HDLC frame from the computer to the channel.
struct { ... } t31_state_s::non_ecm_tx |
Buffer for data from the computer to the channel.
Referenced by t31_at_rx_free_space().
bool t31_state_s::t38_mode |
True if working in T.38 mode.
Referenced by t31_init(), and t31_set_mode().