spandsp 3.0.0
v8_state_s Struct Reference

Public Attributes

bool calling_party
 True if we are the calling party.
v8_result_handler_t result_handler
 A handler to process the V.8 signals.
void * result_handler_user_data
 An opaque pointer passed to result_handler.
int state
 The current state of the V.8 protocol.
bool fsk_tx_on
span_sample_timer_t modem_connect_tone_tx_timer
span_sample_timer_t negotiation_timer
span_sample_timer_t ci_timer
int ci_repetition_count
bool proceed
fsk_tx_state_t v21tx
fsk_rx_state_t v21rx
queue_state_ttx_queue
modem_connect_tones_tx_state_t ansam_tx
modem_connect_tones_rx_state_t ansam_rx
modem_connect_tones_rx_state_t calling_tone_rx
modem_connect_tones_rx_state_t cng_tone_rx
v8_parms_t parms
v8_parms_t result
int modulation_bytes
 The number of modulation bytes to use when sending.
uint32_t bit_stream
int bit_cnt
int preamble_type
uint8_t rx_data [64]
int rx_data_ptr
uint8_t cm_jm_data [64]
 a reference copy of the last CM or JM message, used when testing for matches.
int cm_jm_len
bool got_ci
bool got_cm_jm
bool got_cj
int zero_byte_count
logging_state_t logging
 Error and flow logging control.

Member Data Documentation

◆ logging

logging_state_t v8_state_s::logging

Error and flow logging control.

Referenced by v8_decode_rx(), v8_init(), v8_log_supported_modulations(), v8_rx(), and v8_tx().

◆ result_handler

v8_result_handler_t v8_state_s::result_handler

A handler to process the V.8 signals.

Referenced by v8_init().

◆ result_handler_user_data

void* v8_state_s::result_handler_user_data

An opaque pointer passed to result_handler.

Referenced by v8_init().

◆ state

int v8_state_s::state

The current state of the V.8 protocol.

Referenced by v8_rx(), and v8_tx().


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