spandsp  3.0.0
v34_rx_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_put_bit_func_t put_bit
 The callback function used to put each bit received.
 
void * put_bit_user_data
 A user specified opaque pointer passed to the put_bit routine.
 
span_put_bit_func_t put_aux_bit
 The callback function used to put each aux bit received.
 
void * put_aux_bit_user_data
 A user specified opaque pointer passed to the put_aux_bit routine.
 
qam_report_handler_t qam_report
 A callback function which may be enabled to report every symbol's constellation position.
 
void * qam_user_data
 A user specified opaque pointer passed to the qam_report callback routine.
 
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.
 
int stage
 
int received_event
 
uint32_t scramble_reg
 The register for the data scrambler.
 
int scrambler_tap
 The scrambler tap which selects between the caller and answerer scramblers.
 
uint16_t v0_pattern
 
power_meter_t power
 A power meter, to measure the HPF'ed signal power in the channel.
 
int32_t carrier_on_power
 The power meter level at which carrier on is declared.
 
int32_t carrier_off_power
 The power meter level at which carrier off is declared.
 
bool signal_present
 
bitstream_state_t bs
 
uint32_t bitstream
 
uint32_t r0
 Mapping frame output.
 
uint16_t qbits [8]
 
uint16_t ibits [4]
 
int mjk [8]
 (x0,y0) (x1,y1)...
 
int step_2d
 
v34_parameters_t parms
 Parameters for the current bit rate and baud rate.
 
complexi16_t yt
 yt's are the noise corrupted points fed to the viterbi decoder. Assumed to have format 9:7 (7 fractional bits)
 
complexi16_t xt [4]
 
complexi16_t x [3]
 
complexi16_t h [3]
 
complexi16_t xy [2][4]
 These are quantized points in the respective 2D coset (0,1,2,3)
 
viterbi_t viterbi
 
int16_t ww [3]
 ww contains old z, current z and current w
 
uint32_t carrier_phase
 The current phase of the carrier (i.e. the DDS parameter).
 
int32_t carrier_phase_rate_save
 The carrier update rate saved for reuse when using short training.
 
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).
 
float rrc_filter [27]
 The root raised cosine (RRC) pulse shaping filter buffer.
 
int rrc_filter_step
 Current offset into the RRC pulse shaping filter buffer.
 
int eq_step
 Current read offset into the equalizer buffer.
 
int eq_put_step
 Current write offset into the equalizer buffer.
 
int shaper_sets
 
float agc_scaling
 The scaling factor assessed by the AGC algorithm.
 
float agc_scaling_save
 The previous value of agc_scaling, needed to reuse old training.
 
ted_t pri_ted
 
ted_t cc_ted
 
float carrier_track_p
 The proportional part of the carrier tracking filter.
 
float carrier_track_i
 The integral part of the carrier tracking filter.
 
const v34_rx_shaper_t * shaper_re
 
const v34_rx_shaper_t * shaper_im
 
int total_baud_timing_correction
 The total symbol timing correction since the carrier came up. This is only for performance analysis purposes.
 
int baud_half
 The current half of the baud.
 
int round_trip_delay_estimate
 The measured round trip delay estimate, in sample times.
 
int duration
 
int bit_count
 
int target_bits
 
uint16_t crc
 
uint32_t last_angles [2]
 
uint8_t info_buf [25]
 Buffer for receiving info frames.
 
int super_frame
 
int data_frame
 
int s_bit_cnt
 
int aux_bit_cnt
 
uint8_t rxbuf [50]
 
int rxbits
 
int rxptr
 
int blip_duration
 
v34_capabilities_t far_capabilities
 
int carrier_drop_pending
 Whether or not a carrier drop was detected and the signal delivery is pending.
 
int low_samples
 A count of the current consecutive samples below the carrier off threshold.
 
int16_t high_sample
 A highest magnitude sample seen.
 
bool info0_acknowledgement
 
union {
   info1a_t   info1a
 
   info1c_t   info1c
 
   infoh_t   infoh
 
}; 
 
int step
 
int persistence1
 
int persistence2
 
int mp_count
 
int mp_len
 
int mp_and_fill_len
 
int mp_seen
 
int dft_ptr
 
complexf_t dft_buffer [160]
 
float l1_l2_gains [25]
 
float l1_l2_phases [25]
 
float base_phase
 
complexf_t last_sample
 
int l1_l2_duration
 
int current_demodulator
 
span_sample_timer_t sample_time
 Used to align the transmit and receive positions, to ensure things like round trip delay are properly handled.
 
span_sample_timer_t tone_ab_hop_time
 
logging_state_tlogging
 

Member Data Documentation

◆ half_duplex_source

bool v34_rx_state_t::half_duplex_source

The current source end when in half-duplex mode

◆ half_duplex_state

bool v34_rx_state_t::half_duplex_state

The current operating state when in half-duplex mode


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