#include <inttypes.h>
#include <stdlib.h>
#include <memory.h>
#include "spandsp/telephony.h"
#include "spandsp/logging.h"
#include "spandsp/complex.h"
#include "spandsp/dds.h"
#include "spandsp/tone_detect.h"
#include "spandsp/tone_generate.h"
#include "spandsp/super_tone_rx.h"
#include "spandsp/power_meter.h"
#include "spandsp/async.h"
#include "spandsp/fsk.h"
#include "spandsp/modem_connect_tones.h"
Defines | |
#define | HDLC_FRAMING_OK_THRESHOLD 5 |
Functions | |
int | modem_connect_tones_tx (modem_connect_tones_tx_state_t *s, int16_t amp[], int len) |
Generate a block of modem connect tones samples. | |
modem_connect_tones_tx_state_t * | modem_connect_tones_tx_init (modem_connect_tones_tx_state_t *s, int tone_type) |
Initialise an instance of the modem connect tones generator. | |
int | modem_connect_tones_tx_free (modem_connect_tones_tx_state_t *s) |
Free an instance of the modem connect tones generator. | |
int | modem_connect_tones_rx (modem_connect_tones_rx_state_t *s, const int16_t amp[], int len) |
Process a block of samples through an instance of the modem connect tones detector. | |
int | modem_connect_tones_rx_get (modem_connect_tones_rx_state_t *s) |
Test if a modem_connect tone has been detected. | |
modem_connect_tones_rx_state_t * | modem_connect_tones_rx_init (modem_connect_tones_rx_state_t *s, int tone_type, tone_report_func_t tone_callback, void *user_data) |
Initialise an instance of the modem connect tones detector. | |
int | modem_connect_tones_rx_free (modem_connect_tones_rx_state_t *s) |
Free an instance of the modem connect tones detector. |
|
Process a block of samples through an instance of the modem connect tones detector.
|
|
Free an instance of the modem connect tones detector.
|
|
Test if a modem_connect tone has been detected.
|
|
Initialise an instance of the modem connect tones detector.
|
|
Generate a block of modem connect tones samples.
|
|
Free an instance of the modem connect tones generator.
|
|
Initialise an instance of the modem connect tones generator.
|