spandsp  3.0.0
data_modems_state_s Struct Reference

#include <data_modems.h>

Public Attributes

bool calling_party
 
bool use_tep
 
bool transmit_on_idle
 
int16_t data_bits
 The number of data bits per character.
 
int16_t parity
 The type of parity.
 
int16_t stop_bits
 The number of stop bits.
 
at_state_t at_state
 
data_modems_control_handler_t modem_control_handler
 
void * modem_control_user_data
 
span_get_bit_func_t get_bit
 
void * get_user_data
 
span_put_bit_func_t put_bit
 
void * put_user_data
 
void * user_data
 
span_put_msg_func_t put_msg
 
span_get_msg_func_t get_msg
 
v42_state_t v42
 
v42bis_state_t v42bis
 
int use_v14
 
async_tx_state_t async_tx
 
async_rx_state_t async_rx
 
int64_t call_samples
 Samples elapsed in the current call.
 
union {
   v8_state_t   v8
 
   struct {
      modem_connect_tones_tx_state_t   tx
 Tone generator.
 
      modem_connect_tones_rx_state_t   rx
 Tone detector.
 
   }   tones
 
   struct {
      fsk_tx_state_t   tx
 FSK transmit modem context used for 103, V.21 and V.23.
 
      fsk_rx_state_t   rx
 FSK receive modem context used for 103, V.21 and V.23.
 
   }   fsk
 
   v22bis_state_t   v22bis
 V.22bis modem context.
 
   silence_gen_state_t   silence_gen
 Used to insert timed silences.
 
modems
 
dc_restore_state_t dc_restore
 
int current_modem
 
int queued_modem
 
int queued_baud_rate
 
int queued_bit_rate
 
int current_rx_type
 The currently select receiver type.
 
int current_tx_type
 The currently select transmitter type.
 
bool rx_signal_present
 True if a carrier is present. Otherwise false.
 
bool rx_trained
 True if a modem has trained correctly.
 
bool rx_frame_received
 True if an HDLC frame has been received correctly.
 
span_rx_handler_t rx_handler
 
span_rx_fillin_handler_t rx_fillin_handler
 
void * rx_user_data
 
span_tx_handler_t tx_handler
 
void * tx_user_data
 
int audio_rx_log
 Audio logging file handle for received audio.
 
int audio_tx_log
 Audio logging file handle for transmitted audio.
 
logging_state_t logging
 Error and flow logging control.
 

Detailed Description

The set of modems needed for data, plus the auxilliary stuff, like tone generation.

Member Data Documentation

◆ rx_fillin_handler

span_rx_fillin_handler_t data_modems_state_s::rx_fillin_handler

The current receive missing signal fill-in handler

◆ rx_handler

span_rx_handler_t data_modems_state_s::rx_handler

The current receive signal handler

◆ transmit_on_idle

bool data_modems_state_s::transmit_on_idle

If true, transmit silence when there is nothing else to transmit. If false return only the actual generated audio. Note that this only affects untimed silences. Timed silences (e.g. the 75ms silence between V.21 and a high speed modem) will alway be transmitted as silent audio.

◆ tx_handler

span_tx_handler_t data_modems_state_s::tx_handler

The current transmit signal handler

◆ use_tep

bool data_modems_state_s::use_tep

True is talker echo protection should be sent for the modems which support this


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