spandsp 0.0.6
v17_tx_state_s Struct Reference

#include <v17tx.h>

Public Attributes

int bit_rate
 The bit rate of the modem. Valid values are 4800, 7200 and 9600.
 
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.
 
modem_status_func_t status_handler
 The callback function used to report modem status changes.
 
void * status_user_data
 A user specified opaque pointer passed to the status function.
 
float gain
 The gain factor needed to achieve the specified output power.
 
const complexf_tconstellation
 A pointer to the constellation currently in use.
 
complexf_t rrc_filter [2 *9]
 The root raised cosine (RRC) pulse shaping filter buffer.
 
int rrc_filter_step
 Current offset into the RRC pulse shaping filter buffer.
 
int diff
 The current state of the differential encoder.
 
int convolution
 The current state of the convolutional encoder.
 
int constellation_state
 The code number for the current position in the constellation.
 
uint32_t scramble_reg
 The register for the data scrambler.
 
int in_training
 Scrambler tap. More...
 
int short_train
 TRUE if the short training sequence is to be used.
 
int training_step
 A counter used to track progress through sending the training sequence.
 
uint32_t carrier_phase
 The current phase of the carrier (i.e. the DDS parameter).
 
int32_t carrier_phase_rate
 The update rate for the phase of the carrier (i.e. the DDS increment).
 
int baud_phase
 The current fractional phase of the baud timing.
 
int bits_per_symbol
 The current number of data bits per symbol. This does not include the redundant bit.
 
get_bit_func_t current_get_bit
 The get_bit function in use at any instant.
 
logging_state_t logging
 Error and flow logging control.
 

Detailed Description

V.17 modem transmit side descriptor. This defines the working state for a single instance of a V.17 modem transmitter.

Member Data Documentation

◆ in_training

int v17_tx_state_s::in_training

Scrambler tap.

TRUE if transmitting the training sequence. FALSE if transmitting user data.


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