#include <dtmf.h>
Public Attributes | |
dtmf_rx_callback_t | callback |
void * | callback_data |
tone_report_func_t | realtime_callback |
void * | realtime_callback_data |
int | filter_dialtone |
float | normal_twist |
float | reverse_twist |
float | z350_1 |
float | z350_2 |
float | z440_1 |
float | z440_2 |
goertzel_state_t | row_out [4] |
goertzel_state_t | col_out [4] |
float | energy |
uint8_t | last_hit |
uint8_t | in_digit |
int | current_sample |
char | digits [MAX_DTMF_DIGITS+1] |
int | current_digits |
int | lost_digits |
|
Optional callback funcion to deliver received digits. |
|
An opaque pointer passed to the callback function. |
|
The number of digits currently in the digit buffer. |
|
The current sample number within a processing block. |
|
The received digits buffer. This is a NULL terminated string. |
|
The accumlating total energy on the same period over which the Goertzels work. |
|
TRUE if dialtone should be filtered before processing |
|
The confirmed digit we are currently receiving |
|
The result of the last tone analysis. |
|
The number of digits which have been lost due to buffer overflows. |
|
Maximum acceptable "normal" (lower bigger than higher) twist ratio |
|
Optional callback funcion to deliver real time digit state changes. |
|
An opaque pointer passed to the real time callback function. |
|
Maximum acceptable "reverse" (higher bigger than lower) twist ratio |
|
Tone detector working states |
|
350Hz filter state for the optional dialtone filter |
|
440Hz filter state for the optional dialtone filter |