spandsp 3.0.0
v34_tx_state_t Struct Reference

Public Attributes

bool calling_party
 True if this is the calling side modem.
 
bool duplex
 True if this is a full duplex modem.
 
bool half_duplex_source
 
bool half_duplex_state
 
int bit_rate
 
span_get_bit_func_t get_bit
 The callback function used to get the next bit to be transmitted.
 
void * get_bit_user_data
 A user specified opaque pointer passed to the get_bit function.
 
span_get_bit_func_t get_aux_bit
 The callback function used to get the next aux channel bit to be transmitted.
 
void * get_aux_bit_user_data
 A user specified opaque pointer passed to the get_aux_bit function.
 
int baud_rate
 The current baud rate selection, as a value from 0 to 5.
 
bool high_carrier
 True if using the higher of the two carrier frequency options.
 
uint32_t scramble_reg
 The register for the data scrambler.
 
int scrambler_tap
 The scrambler tap which selects between the caller and answerer scramblers.
 
bool use_non_linear_encoder
 
complexf_t(* current_getbaud )(v34_state_t *s)
 
uint32_t r0
 Mapping frame parsed input.
 
uint16_t qbits [8]
 
uint16_t ibits [4]
 
int mjk [8]
 (x0,y0) (x1,y1)...
 
int step_2d
 
bitstream_state_t bs
 
uint32_t bitstream
 
int i
 
v34_parameters_t parms
 Parameters for the current bit rate and baud rate.
 
complexi16_t x [8+3]
 We need to remember some old x values in the C code: x[0] x[1] x[2] x[3] x[4] x[5] x[6] x[7] x[8] x[9] x[10] in V.34: x[-3] x[-2] x[-1] x[0] x[1] x[2] x[3] x[4] x[5] x[6] x[7].
 
complexi16_t precoder_coeffs [3]
 Precoder coefficients.
 
complexi16_t c
 
complexi16_t p
 
int z
 
int y0
 
int state
 
float gain
 
float rrc_filter_re [9]
 The root raised cosine (RRC) pulse shaping filter buffer.
 
float rrc_filter_im [9]
 
complexf_t lastbit
 
int rrc_filter_step
 Current offset into the RRC pulse shaping filter buffer.
 
uint32_t carrier_phase
 The current phase of the carrier (i.e. the DDS parameter).
 
int32_t cc_carrier_phase_rate
 The update rate for the phase of the control channel carrier (i.e. the DDS increment).
 
int32_t v34_carrier_phase_rate
 The update rate for the phase of the V.34 carrier (i.e. the DDS increment).
 
uint32_t guard_phase
 The current phase of the guard tone (i.e. the DDS parameter).
 
int32_t guard_phase_rate
 The update rate for the phase of the guard tone (i.e. the DDS increment).
 
float guard_level
 Guard tone signal level.
 
int baud_phase
 The current fractional phase of the baud timing.
 
int stage
 
int convolution
 
int training_stage
 
int current_modulator
 
int diff
 
int line_probe_cycles
 
int line_probe_step
 
float line_probe_scaling
 
int tone_duration
 
int super_frame
 
int data_frame
 
int s_bit_cnt
 
int aux_bit_cnt
 
uint16_t v0_pattern
 
uint8_t txbuf [50]
 
int txbits
 
int txptr
 
const conv_encode_table_t * conv_encode_table
 
bool info0_acknowledgement
 
union { 
 
   info1a_t   info1a 
 
   info1c_t   info1c 
 
   infoh_t   infoh 
 
};  
 
union { 
 
   mp_t   mp 
 
   mph_t   mph 
 
};  
 
int persistence2
 
span_get_bit_func_t current_get_bit
 The get_bit function in use at any instant.
 
span_sample_timer_t sample_time
 Used to align the transmit and receive positions, to ensure things like round trip delay are properly handled.
 
logging_state_tlogging
 

Member Data Documentation

◆ half_duplex_source

bool v34_tx_state_t::half_duplex_source

The current source end when in half-duplex mode

Referenced by v34_half_duplex_change_mode(), and v34_restart().

◆ half_duplex_state

bool v34_tx_state_t::half_duplex_state

The current operating state when in half-duplex mode

Referenced by v34_half_duplex_change_mode().


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