Logo Search packages:      
Sourcecode: iaxmodem version File versions  Download package

at_interpreter.c File Reference


Detailed Description

Definition in file at_interpreter.c.

#include <inttypes.h>
#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>
#include <memory.h>
#include <string.h>
#include <ctype.h>
#include <math.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 "at_interpreter_dictionary.h"

Go to the source code of this file.

Defines

#define _GNU_SOURCE
#define DLE   0x10
#define ENABLE_V17
#define ETX   0x03
#define GLOBAL_OBJECT_IDENTITY   "42"
#define MANUFACTURER   "www.soft-switch.org"
#define ms_to_samples(t)   (((t)*SAMPLE_RATE)/1000)
#define SERIAL_NUMBER   "42"
#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_FLUSH, T31_SILENCE_TX, T31_SILENCE_RX, T31_CED_TONE,
  T31_CNG_TONE, T31_NOCNG_TONE
}

Functions

static int answer_call (at_state_t *s)
void at_call_event (at_state_t *s, int event)
static const char * at_cmd_A (at_state_t *s, const char *t)
static const char * at_cmd_amp_C (at_state_t *s, const char *t)
static const char * at_cmd_amp_D (at_state_t *s, const char *t)
static const char * at_cmd_amp_F (at_state_t *s, const char *t)
static const char * at_cmd_D (at_state_t *s, const char *t)
static const char * at_cmd_dummy (at_state_t *s, const char *t)
static const char * at_cmd_E (at_state_t *s, const char *t)
static const char * at_cmd_H (at_state_t *s, const char *t)
static const char * at_cmd_I (at_state_t *s, const char *t)
static const char * at_cmd_L (at_state_t *s, const char *t)
static const char * at_cmd_M (at_state_t *s, const char *t)
static const char * at_cmd_O (at_state_t *s, const char *t)
static const char * at_cmd_P (at_state_t *s, const char *t)
static const char * at_cmd_plus_A8A (at_state_t *s, const char *t)
static const char * at_cmd_plus_A8C (at_state_t *s, const char *t)
static const char * at_cmd_plus_A8E (at_state_t *s, const char *t)
static const char * at_cmd_plus_A8I (at_state_t *s, const char *t)
static const char * at_cmd_plus_A8J (at_state_t *s, const char *t)
static const char * at_cmd_plus_A8M (at_state_t *s, const char *t)
static const char * at_cmd_plus_A8R (at_state_t *s, const char *t)
static const char * at_cmd_plus_A8T (at_state_t *s, const char *t)
static const char * at_cmd_plus_ASTO (at_state_t *s, const char *t)
static const char * at_cmd_plus_CAAP (at_state_t *s, const char *t)
static const char * at_cmd_plus_CACM (at_state_t *s, const char *t)
static const char * at_cmd_plus_CACSP (at_state_t *s, const char *t)
static const char * at_cmd_plus_CAD (at_state_t *s, const char *t)
static const char * at_cmd_plus_CAEMLPP (at_state_t *s, const char *t)
static const char * at_cmd_plus_CAHLD (at_state_t *s, const char *t)
static const char * at_cmd_plus_CAJOIN (at_state_t *s, const char *t)
static const char * at_cmd_plus_CALA (at_state_t *s, const char *t)
static const char * at_cmd_plus_CALCC (at_state_t *s, const char *t)
static const char * at_cmd_plus_CALD (at_state_t *s, const char *t)
static const char * at_cmd_plus_CALM (at_state_t *s, const char *t)
static const char * at_cmd_plus_CAMM (at_state_t *s, const char *t)
static const char * at_cmd_plus_CANCHEV (at_state_t *s, const char *t)
static const char * at_cmd_plus_CAOC (at_state_t *s, const char *t)
static const char * at_cmd_plus_CAPD (at_state_t *s, const char *t)
static const char * at_cmd_plus_CAPTT (at_state_t *s, const char *t)
static const char * at_cmd_plus_CAREJ (at_state_t *s, const char *t)
static const char * at_cmd_plus_CAULEV (at_state_t *s, const char *t)
static const char * at_cmd_plus_CBC (at_state_t *s, const char *t)
static const char * at_cmd_plus_CBCS (at_state_t *s, const char *t)
static const char * at_cmd_plus_CBIP (at_state_t *s, const char *t)
static const char * at_cmd_plus_CBST (at_state_t *s, const char *t)
static const char * at_cmd_plus_CCFC (at_state_t *s, const char *t)
static const char * at_cmd_plus_CCLK (at_state_t *s, const char *t)
static const char * at_cmd_plus_CCS (at_state_t *s, const char *t)
static const char * at_cmd_plus_CCUG (at_state_t *s, const char *t)
static const char * at_cmd_plus_CCWA (at_state_t *s, const char *t)
static const char * at_cmd_plus_CCWE (at_state_t *s, const char *t)
static const char * at_cmd_plus_CDIP (at_state_t *s, const char *t)
static const char * at_cmd_plus_CDIS (at_state_t *s, const char *t)
static const char * at_cmd_plus_CDV (at_state_t *s, const char *t)
static const char * at_cmd_plus_CEER (at_state_t *s, const char *t)
static const char * at_cmd_plus_CESP (at_state_t *s, const char *t)
static const char * at_cmd_plus_CFCS (at_state_t *s, const char *t)
static const char * at_cmd_plus_CFG (at_state_t *s, const char *t)
static const char * at_cmd_plus_CFUN (at_state_t *s, const char *t)
static const char * at_cmd_plus_CGACT (at_state_t *s, const char *t)
static const char * at_cmd_plus_CGANS (at_state_t *s, const char *t)
static const char * at_cmd_plus_CGATT (at_state_t *s, const char *t)
static const char * at_cmd_plus_CGAUTO (at_state_t *s, const char *t)
static const char * at_cmd_plus_CGCAP (at_state_t *s, const char *t)
static const char * at_cmd_plus_CGCLASS (at_state_t *s, const char *t)
static const char * at_cmd_plus_CGCLOSP (at_state_t *s, const char *t)
static const char * at_cmd_plus_CGCLPAD (at_state_t *s, const char *t)
static const char * at_cmd_plus_CGCMOD (at_state_t *s, const char *t)
static const char * at_cmd_plus_CGCS (at_state_t *s, const char *t)
static const char * at_cmd_plus_CGDATA (at_state_t *s, const char *t)
static const char * at_cmd_plus_CGDCONT (at_state_t *s, const char *t)
static const char * at_cmd_plus_CGDSCONT (at_state_t *s, const char *t)
static const char * at_cmd_plus_CGEQMIN (at_state_t *s, const char *t)
static const char * at_cmd_plus_CGEQNEG (at_state_t *s, const char *t)
static const char * at_cmd_plus_CGEQREQ (at_state_t *s, const char *t)
static const char * at_cmd_plus_CGEREP (at_state_t *s, const char *t)
static const char * at_cmd_plus_CGMI (at_state_t *s, const char *t)
static const char * at_cmd_plus_CGMM (at_state_t *s, const char *t)
static const char * at_cmd_plus_CGMR (at_state_t *s, const char *t)
static const char * at_cmd_plus_CGOI (at_state_t *s, const char *t)
static const char * at_cmd_plus_CGPADDR (at_state_t *s, const char *t)
static const char * at_cmd_plus_CGQMIN (at_state_t *s, const char *t)
static const char * at_cmd_plus_CGQREQ (at_state_t *s, const char *t)
static const char * at_cmd_plus_CGREG (at_state_t *s, const char *t)
static const char * at_cmd_plus_CGSMS (at_state_t *s, const char *t)
static const char * at_cmd_plus_CGSN (at_state_t *s, const char *t)
static const char * at_cmd_plus_CGTFT (at_state_t *s, const char *t)
static const char * at_cmd_plus_CHLD (at_state_t *s, const char *t)
static const char * at_cmd_plus_CHSA (at_state_t *s, const char *t)
static const char * at_cmd_plus_CHSC (at_state_t *s, const char *t)
static const char * at_cmd_plus_CHSD (at_state_t *s, const char *t)
static const char * at_cmd_plus_CHSN (at_state_t *s, const char *t)
static const char * at_cmd_plus_CHSR (at_state_t *s, const char *t)
static const char * at_cmd_plus_CHST (at_state_t *s, const char *t)
static const char * at_cmd_plus_CHSU (at_state_t *s, const char *t)
static const char * at_cmd_plus_CHUP (at_state_t *s, const char *t)
static const char * at_cmd_plus_CHV (at_state_t *s, const char *t)
static const char * at_cmd_plus_CIMI (at_state_t *s, const char *t)
static const char * at_cmd_plus_CIND (at_state_t *s, const char *t)
static const char * at_cmd_plus_CIT (at_state_t *s, const char *t)
static const char * at_cmd_plus_CKPD (at_state_t *s, const char *t)
static const char * at_cmd_plus_CLAC (at_state_t *s, const char *t)
static const char * at_cmd_plus_CLAE (at_state_t *s, const char *t)
static const char * at_cmd_plus_CLAN (at_state_t *s, const char *t)
static const char * at_cmd_plus_CLCC (at_state_t *s, const char *t)
static const char * at_cmd_plus_CLCK (at_state_t *s, const char *t)
static const char * at_cmd_plus_CLIP (at_state_t *s, const char *t)
static const char * at_cmd_plus_CLIR (at_state_t *s, const char *t)
static const char * at_cmd_plus_CLVL (at_state_t *s, const char *t)
static const char * at_cmd_plus_CMAR (at_state_t *s, const char *t)
static const char * at_cmd_plus_CMEC (at_state_t *s, const char *t)
static const char * at_cmd_plus_CMEE (at_state_t *s, const char *t)
static const char * at_cmd_plus_CMER (at_state_t *s, const char *t)
static const char * at_cmd_plus_CMGC (at_state_t *s, const char *t)
static const char * at_cmd_plus_CMGD (at_state_t *s, const char *t)
static const char * at_cmd_plus_CMGF (at_state_t *s, const char *t)
static const char * at_cmd_plus_CMGL (at_state_t *s, const char *t)
static const char * at_cmd_plus_CMGR (at_state_t *s, const char *t)
static const char * at_cmd_plus_CMGS (at_state_t *s, const char *t)
static const char * at_cmd_plus_CMGW (at_state_t *s, const char *t)
static const char * at_cmd_plus_CMIP (at_state_t *s, const char *t)
static const char * at_cmd_plus_CMM (at_state_t *s, const char *t)
static const char * at_cmd_plus_CMMS (at_state_t *s, const char *t)
static const char * at_cmd_plus_CMOD (at_state_t *s, const char *t)
static const char * at_cmd_plus_CMSS (at_state_t *s, const char *t)
static const char * at_cmd_plus_CMUT (at_state_t *s, const char *t)
static const char * at_cmd_plus_CMUX (at_state_t *s, const char *t)
static const char * at_cmd_plus_CNMA (at_state_t *s, const char *t)
static const char * at_cmd_plus_CNMI (at_state_t *s, const char *t)
static const char * at_cmd_plus_CNUM (at_state_t *s, const char *t)
static const char * at_cmd_plus_COLP (at_state_t *s, const char *t)
static const char * at_cmd_plus_COPN (at_state_t *s, const char *t)
static const char * at_cmd_plus_COPS (at_state_t *s, const char *t)
static const char * at_cmd_plus_COS (at_state_t *s, const char *t)
static const char * at_cmd_plus_COTDI (at_state_t *s, const char *t)
static const char * at_cmd_plus_CPAS (at_state_t *s, const char *t)
static const char * at_cmd_plus_CPBF (at_state_t *s, const char *t)
static const char * at_cmd_plus_CPBR (at_state_t *s, const char *t)
static const char * at_cmd_plus_CPBS (at_state_t *s, const char *t)
static const char * at_cmd_plus_CPBW (at_state_t *s, const char *t)
static const char * at_cmd_plus_CPIN (at_state_t *s, const char *t)
static const char * at_cmd_plus_CPLS (at_state_t *s, const char *t)
static const char * at_cmd_plus_CPMS (at_state_t *s, const char *t)
static const char * at_cmd_plus_CPOL (at_state_t *s, const char *t)
static const char * at_cmd_plus_CPPS (at_state_t *s, const char *t)
static const char * at_cmd_plus_CPROT (at_state_t *s, const char *t)
static const char * at_cmd_plus_CPUC (at_state_t *s, const char *t)
static const char * at_cmd_plus_CPWC (at_state_t *s, const char *t)
static const char * at_cmd_plus_CPWD (at_state_t *s, const char *t)
static const char * at_cmd_plus_CQD (at_state_t *s, const char *t)
static const char * at_cmd_plus_CR (at_state_t *s, const char *t)
static const char * at_cmd_plus_CRC (at_state_t *s, const char *t)
static const char * at_cmd_plus_CREG (at_state_t *s, const char *t)
static const char * at_cmd_plus_CRES (at_state_t *s, const char *t)
static const char * at_cmd_plus_CRLP (at_state_t *s, const char *t)
static const char * at_cmd_plus_CRM (at_state_t *s, const char *t)
static const char * at_cmd_plus_CRMC (at_state_t *s, const char *t)
static const char * at_cmd_plus_CRMP (at_state_t *s, const char *t)
static const char * at_cmd_plus_CRSL (at_state_t *s, const char *t)
static const char * at_cmd_plus_CRSM (at_state_t *s, const char *t)
static const char * at_cmd_plus_CSAS (at_state_t *s, const char *t)
static const char * at_cmd_plus_CSCA (at_state_t *s, const char *t)
static const char * at_cmd_plus_CSCB (at_state_t *s, const char *t)
static const char * at_cmd_plus_CSCC (at_state_t *s, const char *t)
static const char * at_cmd_plus_CSCS (at_state_t *s, const char *t)
static const char * at_cmd_plus_CSDF (at_state_t *s, const char *t)
static const char * at_cmd_plus_CSDH (at_state_t *s, const char *t)
static const char * at_cmd_plus_CSGT (at_state_t *s, const char *t)
static const char * at_cmd_plus_CSIL (at_state_t *s, const char *t)
static const char * at_cmd_plus_CSIM (at_state_t *s, const char *t)
static const char * at_cmd_plus_CSMP (at_state_t *s, const char *t)
static const char * at_cmd_plus_CSMS (at_state_t *s, const char *t)
static const char * at_cmd_plus_CSNS (at_state_t *s, const char *t)
static const char * at_cmd_plus_CSQ (at_state_t *s, const char *t)
static const char * at_cmd_plus_CSS (at_state_t *s, const char *t)
static const char * at_cmd_plus_CSSN (at_state_t *s, const char *t)
static const char * at_cmd_plus_CSTA (at_state_t *s, const char *t)
static const char * at_cmd_plus_CSTF (at_state_t *s, const char *t)
static const char * at_cmd_plus_CSVM (at_state_t *s, const char *t)
static const char * at_cmd_plus_CTA (at_state_t *s, const char *t)
static const char * at_cmd_plus_CTF (at_state_t *s, const char *t)
static const char * at_cmd_plus_CTFR (at_state_t *s, const char *t)
static const char * at_cmd_plus_CTZR (at_state_t *s, const char *t)
static const char * at_cmd_plus_CTZU (at_state_t *s, const char *t)
static const char * at_cmd_plus_CUSD (at_state_t *s, const char *t)
static const char * at_cmd_plus_CUUS1 (at_state_t *s, const char *t)
static const char * at_cmd_plus_CV120 (at_state_t *s, const char *t)
static const char * at_cmd_plus_CVHU (at_state_t *s, const char *t)
static const char * at_cmd_plus_CVIB (at_state_t *s, const char *t)
static const char * at_cmd_plus_CXT (at_state_t *s, const char *t)
static const char * at_cmd_plus_DR (at_state_t *s, const char *t)
static const char * at_cmd_plus_DS (at_state_t *s, const char *t)
static const char * at_cmd_plus_DS44 (at_state_t *s, const char *t)
static const char * at_cmd_plus_EB (at_state_t *s, const char *t)
static const char * at_cmd_plus_EFCS (at_state_t *s, const char *t)
static const char * at_cmd_plus_EFRAM (at_state_t *s, const char *t)
static const char * at_cmd_plus_ER (at_state_t *s, const char *t)
static const char * at_cmd_plus_ES (at_state_t *s, const char *t)
static const char * at_cmd_plus_ESR (at_state_t *s, const char *t)
static const char * at_cmd_plus_ETBM (at_state_t *s, const char *t)
static const char * at_cmd_plus_EWIND (at_state_t *s, const char *t)
static const char * at_cmd_plus_FAA (at_state_t *s, const char *t)
static const char * at_cmd_plus_FAP (at_state_t *s, const char *t)
static const char * at_cmd_plus_FAR (at_state_t *s, const char *t)
static const char * at_cmd_plus_FBO (at_state_t *s, const char *t)
static const char * at_cmd_plus_FBS (at_state_t *s, const char *t)
static const char * at_cmd_plus_FBU (at_state_t *s, const char *t)
static const char * at_cmd_plus_FCC (at_state_t *s, const char *t)
static const char * at_cmd_plus_FCL (at_state_t *s, const char *t)
static const char * at_cmd_plus_FCLASS (at_state_t *s, const char *t)
static const char * at_cmd_plus_FCQ (at_state_t *s, const char *t)
static const char * at_cmd_plus_FCR (at_state_t *s, const char *t)
static const char * at_cmd_plus_FCS (at_state_t *s, const char *t)
static const char * at_cmd_plus_FCT (at_state_t *s, const char *t)
static const char * at_cmd_plus_FDD (at_state_t *s, const char *t)
static const char * at_cmd_plus_FDR (at_state_t *s, const char *t)
static const char * at_cmd_plus_FDT (at_state_t *s, const char *t)
static const char * at_cmd_plus_FEA (at_state_t *s, const char *t)
static const char * at_cmd_plus_FFC (at_state_t *s, const char *t)
static const char * at_cmd_plus_FFD (at_state_t *s, const char *t)
static const char * at_cmd_plus_FHS (at_state_t *s, const char *t)
static const char * at_cmd_plus_FIE (at_state_t *s, const char *t)
static const char * at_cmd_plus_FIP (at_state_t *s, const char *t)
static const char * at_cmd_plus_FIS (at_state_t *s, const char *t)
static const char * at_cmd_plus_FIT (at_state_t *s, const char *t)
static const char * at_cmd_plus_FKS (at_state_t *s, const char *t)
static const char * at_cmd_plus_FLI (at_state_t *s, const char *t)
static const char * at_cmd_plus_FLO (at_state_t *s, const char *t)
static const char * at_cmd_plus_FLP (at_state_t *s, const char *t)
static const char * at_cmd_plus_FMI (at_state_t *s, const char *t)
static const char * at_cmd_plus_FMM (at_state_t *s, const char *t)
static const char * at_cmd_plus_FMR (at_state_t *s, const char *t)
static const char * at_cmd_plus_FMS (at_state_t *s, const char *t)
static const char * at_cmd_plus_FND (at_state_t *s, const char *t)
static const char * at_cmd_plus_FNR (at_state_t *s, const char *t)
static const char * at_cmd_plus_FNS (at_state_t *s, const char *t)
static const char * at_cmd_plus_FPA (at_state_t *s, const char *t)
static const char * at_cmd_plus_FPI (at_state_t *s, const char *t)
static const char * at_cmd_plus_FPP (at_state_t *s, const char *t)
static const char * at_cmd_plus_FPR (at_state_t *s, const char *t)
static const char * at_cmd_plus_FPS (at_state_t *s, const char *t)
static const char * at_cmd_plus_FPW (at_state_t *s, const char *t)
static const char * at_cmd_plus_FRH (at_state_t *s, const char *t)
static const char * at_cmd_plus_FRM (at_state_t *s, const char *t)
static const char * at_cmd_plus_FRQ (at_state_t *s, const char *t)
static const char * at_cmd_plus_FRS (at_state_t *s, const char *t)
static const char * at_cmd_plus_FRY (at_state_t *s, const char *t)
static const char * at_cmd_plus_FSA (at_state_t *s, const char *t)
static const char * at_cmd_plus_FSP (at_state_t *s, const char *t)
static const char * at_cmd_plus_FTH (at_state_t *s, const char *t)
static const char * at_cmd_plus_FTM (at_state_t *s, const char *t)
static const char * at_cmd_plus_FTS (at_state_t *s, const char *t)
static const char * at_cmd_plus_GCAP (at_state_t *s, const char *t)
static const char * at_cmd_plus_GCI (at_state_t *s, const char *t)
static const char * at_cmd_plus_GMI (at_state_t *s, const char *t)
static const char * at_cmd_plus_GMM (at_state_t *s, const char *t)
static const char * at_cmd_plus_GMR (at_state_t *s, const char *t)
static const char * at_cmd_plus_GOI (at_state_t *s, const char *t)
static const char * at_cmd_plus_GSN (at_state_t *s, const char *t)
static const char * at_cmd_plus_IBC (at_state_t *s, const char *t)
static const char * at_cmd_plus_IBM (at_state_t *s, const char *t)
static const char * at_cmd_plus_ICF (at_state_t *s, const char *t)
static const char * at_cmd_plus_ICLOK (at_state_t *s, const char *t)
static const char * at_cmd_plus_IDSR (at_state_t *s, const char *t)
static const char * at_cmd_plus_IFC (at_state_t *s, const char *t)
static const char * at_cmd_plus_ILRR (at_state_t *s, const char *t)
static const char * at_cmd_plus_ILSD (at_state_t *s, const char *t)
static const char * at_cmd_plus_IPR (at_state_t *s, const char *t)
static const char * at_cmd_plus_IRTS (at_state_t *s, const char *t)
static const char * at_cmd_plus_MA (at_state_t *s, const char *t)
static const char * at_cmd_plus_MR (at_state_t *s, const char *t)
static const char * at_cmd_plus_MS (at_state_t *s, const char *t)
static const char * at_cmd_plus_MSC (at_state_t *s, const char *t)
static const char * at_cmd_plus_MV18AM (at_state_t *s, const char *t)
static const char * at_cmd_plus_MV18P (at_state_t *s, const char *t)
static const char * at_cmd_plus_MV18R (at_state_t *s, const char *t)
static const char * at_cmd_plus_MV18S (at_state_t *s, const char *t)
static const char * at_cmd_plus_PCW (at_state_t *s, const char *t)
static const char * at_cmd_plus_PIG (at_state_t *s, const char *t)
static const char * at_cmd_plus_PMH (at_state_t *s, const char *t)
static const char * at_cmd_plus_PMHF (at_state_t *s, const char *t)
static const char * at_cmd_plus_PMHR (at_state_t *s, const char *t)
static const char * at_cmd_plus_PMHT (at_state_t *s, const char *t)
static const char * at_cmd_plus_PQC (at_state_t *s, const char *t)
static const char * at_cmd_plus_PSS (at_state_t *s, const char *t)
static const char * at_cmd_plus_SAC (at_state_t *s, const char *t)
static const char * at_cmd_plus_SAM (at_state_t *s, const char *t)
static const char * at_cmd_plus_SAR (at_state_t *s, const char *t)
static const char * at_cmd_plus_SARR (at_state_t *s, const char *t)
static const char * at_cmd_plus_SAT (at_state_t *s, const char *t)
static const char * at_cmd_plus_SCRR (at_state_t *s, const char *t)
static const char * at_cmd_plus_SDC (at_state_t *s, const char *t)
static const char * at_cmd_plus_SDI (at_state_t *s, const char *t)
static const char * at_cmd_plus_SDR (at_state_t *s, const char *t)
static const char * at_cmd_plus_SRSC (at_state_t *s, const char *t)
static const char * at_cmd_plus_STC (at_state_t *s, const char *t)
static const char * at_cmd_plus_STH (at_state_t *s, const char *t)
static const char * at_cmd_plus_SVC (at_state_t *s, const char *t)
static const char * at_cmd_plus_SVM (at_state_t *s, const char *t)
static const char * at_cmd_plus_SVR (at_state_t *s, const char *t)
static const char * at_cmd_plus_SVRR (at_state_t *s, const char *t)
static const char * at_cmd_plus_SVT (at_state_t *s, const char *t)
static const char * at_cmd_plus_TADR (at_state_t *s, const char *t)
static const char * at_cmd_plus_TAL (at_state_t *s, const char *t)
static const char * at_cmd_plus_TALS (at_state_t *s, const char *t)
static const char * at_cmd_plus_TDLS (at_state_t *s, const char *t)
static const char * at_cmd_plus_TE140 (at_state_t *s, const char *t)
static const char * at_cmd_plus_TE141 (at_state_t *s, const char *t)
static const char * at_cmd_plus_TEPAL (at_state_t *s, const char *t)
static const char * at_cmd_plus_TEPDL (at_state_t *s, const char *t)
static const char * at_cmd_plus_TERDL (at_state_t *s, const char *t)
static const char * at_cmd_plus_TLDL (at_state_t *s, const char *t)
static const char * at_cmd_plus_TMO (at_state_t *s, const char *t)
static const char * at_cmd_plus_TMODE (at_state_t *s, const char *t)
static const char * at_cmd_plus_TNUM (at_state_t *s, const char *t)
static const char * at_cmd_plus_TRDL (at_state_t *s, const char *t)
static const char * at_cmd_plus_TRDLS (at_state_t *s, const char *t)
static const char * at_cmd_plus_TRES (at_state_t *s, const char *t)
static const char * at_cmd_plus_TSELF (at_state_t *s, const char *t)
static const char * at_cmd_plus_TTER (at_state_t *s, const char *t)
static const char * at_cmd_plus_VAC (at_state_t *s, const char *t)
static const char * at_cmd_plus_VACR (at_state_t *s, const char *t)
static const char * at_cmd_plus_VBT (at_state_t *s, const char *t)
static const char * at_cmd_plus_VCID (at_state_t *s, const char *t)
static const char * at_cmd_plus_VCIDR (at_state_t *s, const char *t)
static const char * at_cmd_plus_VDID (at_state_t *s, const char *t)
static const char * at_cmd_plus_VDIDR (at_state_t *s, const char *t)
static const char * at_cmd_plus_VDR (at_state_t *s, const char *t)
static const char * at_cmd_plus_VDT (at_state_t *s, const char *t)
static const char * at_cmd_plus_VDX (at_state_t *s, const char *t)
static const char * at_cmd_plus_VEM (at_state_t *s, const char *t)
static const char * at_cmd_plus_VGM (at_state_t *s, const char *t)
static const char * at_cmd_plus_VGR (at_state_t *s, const char *t)
static const char * at_cmd_plus_VGS (at_state_t *s, const char *t)
static const char * at_cmd_plus_VGT (at_state_t *s, const char *t)
static const char * at_cmd_plus_VHC (at_state_t *s, const char *t)
static const char * at_cmd_plus_VIP (at_state_t *s, const char *t)
static const char * at_cmd_plus_VIT (at_state_t *s, const char *t)
static const char * at_cmd_plus_VLS (at_state_t *s, const char *t)
static const char * at_cmd_plus_VNH (at_state_t *s, const char *t)
static const char * at_cmd_plus_VPH (at_state_t *s, const char *t)
static const char * at_cmd_plus_VPP (at_state_t *s, const char *t)
static const char * at_cmd_plus_VPR (at_state_t *s, const char *t)
static const char * at_cmd_plus_VRA (at_state_t *s, const char *t)
static const char * at_cmd_plus_VRID (at_state_t *s, const char *t)
static const char * at_cmd_plus_VRL (at_state_t *s, const char *t)
static const char * at_cmd_plus_VRN (at_state_t *s, const char *t)
static const char * at_cmd_plus_VRX (at_state_t *s, const char *t)
static const char * at_cmd_plus_VSD (at_state_t *s, const char *t)
static const char * at_cmd_plus_VSID (at_state_t *s, const char *t)
static const char * at_cmd_plus_VSM (at_state_t *s, const char *t)
static const char * at_cmd_plus_VSP (at_state_t *s, const char *t)
static const char * at_cmd_plus_VTA (at_state_t *s, const char *t)
static const char * at_cmd_plus_VTD (at_state_t *s, const char *t)
static const char * at_cmd_plus_VTER (at_state_t *s, const char *t)
static const char * at_cmd_plus_VTH (at_state_t *s, const char *t)
static const char * at_cmd_plus_VTR (at_state_t *s, const char *t)
static const char * at_cmd_plus_VTS (at_state_t *s, const char *t)
static const char * at_cmd_plus_VTX (at_state_t *s, const char *t)
static const char * at_cmd_plus_VXT (at_state_t *s, const char *t)
static const char * at_cmd_plus_W (at_state_t *s, const char *t)
static const char * at_cmd_plus_WBAG (at_state_t *s, const char *t)
static const char * at_cmd_plus_WCDA (at_state_t *s, const char *t)
static const char * at_cmd_plus_WCHG (at_state_t *s, const char *t)
static const char * at_cmd_plus_WCID (at_state_t *s, const char *t)
static const char * at_cmd_plus_WCLK (at_state_t *s, const char *t)
static const char * at_cmd_plus_WCPN (at_state_t *s, const char *t)
static const char * at_cmd_plus_WCXF (at_state_t *s, const char *t)
static const char * at_cmd_plus_WDAC (at_state_t *s, const char *t)
static const char * at_cmd_plus_WDIR (at_state_t *s, const char *t)
static const char * at_cmd_plus_WECR (at_state_t *s, const char *t)
static const char * at_cmd_plus_WFON (at_state_t *s, const char *t)
static const char * at_cmd_plus_WKPD (at_state_t *s, const char *t)
static const char * at_cmd_plus_WPBA (at_state_t *s, const char *t)
static const char * at_cmd_plus_WPTH (at_state_t *s, const char *t)
static const char * at_cmd_plus_WRLK (at_state_t *s, const char *t)
static const char * at_cmd_plus_WS45 (at_state_t *s, const char *t)
static const char * at_cmd_plus_WS46 (at_state_t *s, const char *t)
static const char * at_cmd_plus_WS50 (at_state_t *s, const char *t)
static const char * at_cmd_plus_WS51 (at_state_t *s, const char *t)
static const char * at_cmd_plus_WS52 (at_state_t *s, const char *t)
static const char * at_cmd_plus_WS53 (at_state_t *s, const char *t)
static const char * at_cmd_plus_WS54 (at_state_t *s, const char *t)
static const char * at_cmd_plus_WS57 (at_state_t *s, const char *t)
static const char * at_cmd_plus_WS58 (at_state_t *s, const char *t)
static const char * at_cmd_plus_WSTL (at_state_t *s, const char *t)
static const char * at_cmd_Q (at_state_t *s, const char *t)
static const char * at_cmd_S0 (at_state_t *s, const char *t)
static const char * at_cmd_S10 (at_state_t *s, const char *t)
static const char * at_cmd_S3 (at_state_t *s, const char *t)
static const char * at_cmd_S4 (at_state_t *s, const char *t)
static const char * at_cmd_S5 (at_state_t *s, const char *t)
static const char * at_cmd_S6 (at_state_t *s, const char *t)
static const char * at_cmd_S7 (at_state_t *s, const char *t)
static const char * at_cmd_S8 (at_state_t *s, const char *t)
static const char * at_cmd_T (at_state_t *s, const char *t)
static const char * at_cmd_V (at_state_t *s, const char *t)
static const char * at_cmd_X (at_state_t *s, const char *t)
static const char * at_cmd_Z (at_state_t *s, const char *t)
void at_display_call_info (at_state_t *s)
at_state_tat_init (at_state_t *s, at_tx_handler_t *at_tx_handler, void *at_tx_user_data, at_modem_control_handler_t *modem_control_handler, void *modem_control_user_data)
void at_interpreter (at_state_t *s, const char *cmd, int len)
int at_modem_control (at_state_t *s, int op, const char *num)
void at_put_numeric_response (at_state_t *s, int val)
void at_put_response (at_state_t *s, const char *t)
void at_put_response_code (at_state_t *s, int code)
void at_reset_call_info (at_state_t *s)
void at_set_at_rx_mode (at_state_t *s, int new_mode)
void at_set_call_info (at_state_t *s, char const *call_date, char const *call_time, char const *originating_name, char const *originating_number, char const *originating_ani, char const *destination_number)
 Set the call information for an AT interpreter.
void at_set_class1_handler (at_state_t *s, at_class1_handler_t handler, void *user_data)
static int command_search (const char *u, int len, int *matched)
static int match_element (const char **variant, const char *variants)
static int parse_2_out (at_state_t *s, const char **t, int *target1, int max_value1, int *target2, int max_value2, const char *prefix, const char *def)
static int parse_hex_num (const char **s, int max_value)
static int parse_hex_out (at_state_t *s, const char **t, int *target, int max_value, const char *prefix, const char *def)
static int parse_num (const char **s, int max_value)
static int parse_out (at_state_t *s, const char **t, int *target, int max_value, const char *prefix, const char *def)
static int parse_string_out (at_state_t *s, const char **t, int *target, int max_value, const char *prefix, const char *def)
static int process_class1_cmd (at_state_t *s, const char **t)
static const char * s_reg_handler (at_state_t *s, const char *t, int reg)

Variables

static const char * at_response_codes []
static const char * manufacturer = MANUFACTURER
static const char * model = PACKAGE
static at_profile_t profiles [3]
static const char * revision = VERSION


Generated by  Doxygen 1.6.0   Back to index