spandsp 3.0.0
v22bis_state_s Struct Reference

#include <v22bis.h>

Classes

struct  [struct].rx
struct  [struct].tx

Public Attributes

int bit_rate
 The maximum permitted bit rate of the modem. Valid values are 1200 and 2400.
int options
 Guard tone and sundry flags.
bool calling_party
 True if this is the calling side modem.
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 callback routine.
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 callback routine.
span_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.
int negotiated_bit_rate
struct  rx
struct  tx
logging_state_t logging
 Error and flow logging control.

Detailed Description

V.22bis modem descriptor. This defines the working state for a single instance of a V.22bis modem.

Member Data Documentation

◆ bit_rate

int v22bis_state_s::bit_rate

The maximum permitted bit rate of the modem. Valid values are 1200 and 2400.

Referenced by v22bis_init(), v22bis_restart(), and v22bis_rx().

◆ calling_party

bool v22bis_state_s::calling_party

True if this is the calling side modem.

Referenced by v22bis_init(), v22bis_rx(), and v22bis_rx_restart().

◆ get_bit

span_get_bit_func_t v22bis_state_s::get_bit

The callback function used to get the next bit to be transmitted.

Referenced by v22bis_init(), and v22bis_set_get_bit().

◆ get_bit_user_data

void* v22bis_state_s::get_bit_user_data

A user specified opaque pointer passed to the get_bit callback routine.

Referenced by v22bis_init(), and v22bis_set_get_bit().

◆ logging

logging_state_t v22bis_state_s::logging

Error and flow logging control.

Referenced by v22bis_get_logging_state(), v22bis_init(), v22bis_request_retrain(), and v22bis_rx_fillin().

◆ options

int v22bis_state_s::options

Guard tone and sundry flags.

Referenced by v22bis_init().

◆ put_bit

span_put_bit_func_t v22bis_state_s::put_bit

The callback function used to put each bit received.

Referenced by v22bis_init(), and v22bis_set_put_bit().

◆ put_bit_user_data

void* v22bis_state_s::put_bit_user_data

A user specified opaque pointer passed to the put_bit callback routine.

Referenced by v22bis_init(), and v22bis_set_put_bit().

◆ status_handler

span_modem_status_func_t v22bis_state_s::status_handler

The callback function used to report modem status changes.

Referenced by v22bis_set_modem_status_handler().

◆ status_user_data

void* v22bis_state_s::status_user_data

A user specified opaque pointer passed to the status function.

Referenced by v22bis_set_modem_status_handler().


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