spandsp  0.0.6
bell_mf_rx_state_s Struct Reference

#include <bell_r2_mf.h>

Public Attributes

digits_rx_callback_t digits_callback
 
void * digits_callback_data
 
goertzel_state_t out [6]
 
uint8_t hits [5]
 
int current_sample
 
int lost_digits
 
int current_digits
 
char digits [MAX_BELL_MF_DIGITS+1]
 

Detailed Description

Bell MF digit detector descriptor.

Member Data Documentation

◆ current_digits

int bell_mf_rx_state_s::current_digits

The number of digits currently in the digit buffer.

◆ current_sample

int bell_mf_rx_state_s::current_sample

The current sample number within a processing block.

◆ digits

char bell_mf_rx_state_s::digits[MAX_BELL_MF_DIGITS+1]

The received digits buffer. This is a NULL terminated string.

◆ digits_callback

digits_rx_callback_t bell_mf_rx_state_s::digits_callback

Optional callback funcion to deliver received digits.

◆ digits_callback_data

void* bell_mf_rx_state_s::digits_callback_data

An opaque pointer passed to the callback function.

◆ hits

uint8_t bell_mf_rx_state_s::hits[5]

Short term history of results from the tone detection, using in persistence checking

◆ lost_digits

int bell_mf_rx_state_s::lost_digits

The number of digits which have been lost due to buffer overflows.

◆ out

goertzel_state_t bell_mf_rx_state_s::out[6]

Tone detector working states


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