spandsp 3.0.0
v34_logging.c File Reference
#include <stdlib.h>
#include <inttypes.h>
#include <string.h>
#include <stdio.h>
#include "spandsp/stdbool.h"
#include "floating_fudge.h"
#include "spandsp/telephony.h"
#include "spandsp/alloc.h"
#include "spandsp/fast_convert.h"
#include "spandsp/logging.h"
#include "spandsp/bit_operations.h"
#include "spandsp/bitstream.h"
#include "spandsp/complex.h"
#include "spandsp/vector_float.h"
#include "spandsp/complex_vector_float.h"
#include "spandsp/vector_int.h"
#include "spandsp/complex_vector_int.h"
#include "spandsp/modem_echo.h"
#include "spandsp/async.h"
#include "spandsp/power_meter.h"
#include "spandsp/arctan2.h"
#include "spandsp/dds.h"
#include "spandsp/crc.h"
#include "spandsp/complex_filters.h"
#include "spandsp/v29rx.h"
#include "spandsp/v34.h"
#include "spandsp/private/bitstream.h"
#include "spandsp/private/logging.h"
#include "spandsp/private/power_meter.h"
#include "spandsp/private/modem_echo.h"
#include "spandsp/private/v34.h"
#include "v34_local.h"
#include "v34_superconstellation_map.h"
#include "v34_tables.h"

Functions

void log_info0 (logging_state_t *log, bool tx, const v34_capabilities_t *cap, int info0_acknowledgement)
void log_info1c (logging_state_t *log, bool tx, const info1c_t *info1c)
void log_info1a (logging_state_t *log, bool tx, const info1a_t *info1a)
void log_infoh (logging_state_t *log, bool tx, const infoh_t *infoh)
void log_mp (logging_state_t *log, bool tx, const mp_t *mp)
void log_mph (logging_state_t *log, bool tx, const mph_t *mph)
void log_parameters (logging_state_t *log, bool tx, v34_parameters_t *parms)

Function Documentation

◆ log_parameters()

void log_parameters ( logging_state_t * log,
bool tx,
v34_parameters_t * parms )

Parameters for the current bit rate and baud rate

Bits per high mapping frame. A low mapping frame is one bit less.

The number of shell mapped bits

The number of uncoded Q bits per 2D symbol

Mapping frame switching parameter

The numerator and dnominator of the number of samples per symbol ratio.

References v34_parameters_t::b, v34_parameters_t::bit_rate, v34_parameters_t::k, v34_parameters_t::max_bit_rate_code, v34_parameters_t::q, v34_parameters_t::r, v34_parameters_t::samples_per_symbol_denominator, v34_parameters_t::samples_per_symbol_numerator, and span_log().