#include <bell_r2_mf.h>
Public Attributes | |
void(* | callback )(void *data, const char *digits, int len) |
void * | 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] |
void(* bell_mf_rx_state_t::callback)(void *data, const char *digits, int len) |
Optional callback funcion to deliver received digits.
An opaque pointer passed to the callback function.
Tone detector working states
uint8_t bell_mf_rx_state_t::hits[5] |
Short term history of results from the tone detection, using in persistence checking
The current sample number within a processing block.
The number of digits which have been lost due to buffer overflows.
The number of digits currently in the digit buffer.
char bell_mf_rx_state_t::digits[MAX_BELL_MF_DIGITS+1] |
The received digits buffer. This is a NULL terminated string.