Main Page | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

at_interpreter.c File Reference

#include <inttypes.h>
#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>
#include <memory.h>
#include <string.h>
#include <ctype.h>
#include <assert.h>
#include "spandsp/telephony.h"
#include "spandsp/logging.h"
#include "spandsp/queue.h"
#include "spandsp/power_meter.h"
#include "spandsp/complex.h"
#include "spandsp/tone_generate.h"
#include "spandsp/async.h"
#include "spandsp/hdlc.h"
#include "spandsp/fsk.h"
#include "spandsp/at_interpreter.h"
#include "spandsp/private/logging.h"
#include "spandsp/private/at_interpreter.h"
#include "at_interpreter_dictionary.h"

Defines

#define ms_to_samples(t)   (((t)*SAMPLE_RATE)/1000)
#define MANUFACTURER   "www.soft-switch.org"
#define SERIAL_NUMBER   "42"
#define GLOBAL_OBJECT_IDENTITY   "42"
#define ETX   0x03
#define DLE   0x10
#define SUB   0x1A

Typedefs

typedef const char *(* at_cmd_service_t )(at_state_t *s, const char *cmd)

Enumerations

enum  { ASCII_RESULT_CODES = 1, NUMERIC_RESULT_CODES, NO_RESULT_CODES }
enum  {
  T31_NONE = -1, T31_FLUSH = 0, T31_SILENCE_TX, T31_SILENCE_RX,
  T31_CED_TONE, T31_CNG_TONE, T31_NOCNG_TONE
}

Functions

 SPAN_DECLARE (void)
 Cleanup a T.30 context if the call terminates.
 SPAN_DECLARE (int)
 Release a V.8 context.
 SPAN_DECLARE (at_state_t *)

Detailed Description


Function Documentation

SPAN_DECLARE int   ) 
 

Release a V.8 context.

Parameters:
s The ADSI receive context.
amp The audio sample buffer.
len The number of samples in the buffer.
Returns:
The number of samples unprocessed.

SPAN_DECLARE void   ) 
 

Cleanup a T.30 context if the call terminates.

Parameters:
s The ADSI transmit context.


Generated on Fri Aug 28 20:12:28 2009 for spandsp by  doxygen 1.3.9.1