#include <inttypes.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "floating_fudge.h"
#include <assert.h>
#include "spandsp/telephony.h"
#include "spandsp/fast_convert.h"
#include "spandsp/logging.h"
#include "spandsp/queue.h"
#include "spandsp/complex.h"
#include "spandsp/dds.h"
#include "spandsp/power_meter.h"
#include "spandsp/async.h"
#include "spandsp/crc.h"
#include "spandsp/fsk.h"
#include "spandsp/tone_detect.h"
#include "spandsp/tone_generate.h"
#include "spandsp/super_tone_rx.h"
#include "spandsp/dtmf.h"
#include "spandsp/adsi.h"
#include "spandsp/private/logging.h"
#include "spandsp/private/queue.h"
#include "spandsp/private/tone_generate.h"
#include "spandsp/private/async.h"
#include "spandsp/private/fsk.h"
#include "spandsp/private/dtmf.h"
#include "spandsp/private/adsi.h"
Defines | |
#define | BAUDOT_FIGURE_SHIFT 0x1B |
#define | BAUDOT_LETTER_SHIFT 0x1F |
Enumerations | |
enum | { SOH = 0x01, STX = 0x02, ETX = 0x03, DLE = 0x10, SUB = 0x1A } |
Functions | |
int | adsi_rx (adsi_rx_state_t *s, const int16_t amp[], int len) |
adsi_rx_state_t * | adsi_rx_init (adsi_rx_state_t *s, int standard, put_msg_func_t put_msg, void *user_data) |
int | adsi_rx_release (adsi_rx_state_t *s) |
int | adsi_rx_free (adsi_rx_state_t *s) |
int | adsi_tx (adsi_tx_state_t *s, int16_t amp[], int max_len) |
void | adsi_tx_send_alert_tone (adsi_tx_state_t *s) |
void | adsi_tx_set_preamble (adsi_tx_state_t *s, int preamble_len, int preamble_ones_len, int postamble_ones_len, int stop_bits) |
int | adsi_tx_put_message (adsi_tx_state_t *s, const uint8_t *msg, int len) |
adsi_tx_state_t * | adsi_tx_init (adsi_tx_state_t *s, int standard) |
int | adsi_tx_release (adsi_tx_state_t *s) |
int | adsi_tx_free (adsi_tx_state_t *s) |
int | adsi_next_field (adsi_rx_state_t *s, const uint8_t *msg, int msg_len, int pos, uint8_t *field_type, uint8_t const **field_body, int *field_len) |
int | adsi_add_field (adsi_tx_state_t *s, uint8_t *msg, int len, uint8_t field_type, uint8_t const *field_body, int field_len) |
const char * | adsi_standard_to_str (int standard) |
#define BAUDOT_FIGURE_SHIFT 0x1B |
The baudot code to shift from alpha to digits and symbols
#define BAUDOT_LETTER_SHIFT 0x1F |
The baudot code to shift from digits and symbols to alpha