Gammu internals  1.38.0
gsmstate.h File Reference
#include <time.h>
#include <gammu-file.h>
#include <gammu-info.h>
#include <gammu-config.h>
#include <gammu-keys.h>
#include <gammu-security.h>
#include <gammu-callback.h>
#include <gammu-settings.h>
#include <gammu-misc.h>
#include <gammu-category.h>
#include <gammu-backup.h>
#include <string.h>
#include "phone/dummy/dummy.h"
#include "protocol/protocol.h"
#include "device/proxy/proxy.h"
#include "debug.h"
#include "gsmreply.h"
Include dependency graph for gsmstate.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  GSM_Device_Functions
 
struct  GSM_Device
 
struct  GSM_Protocol_Functions
 
struct  GSM_Protocol
 
struct  GSM_Phone_Data
 
struct  GSM_Phone_Functions
 
struct  GSM_Phone
 
struct  _GSM_User
 
struct  _GSM_StateMachine
 

Macros

#define GSM_ENABLE_SERIALDEVICE
 
#define GSM_ENABLE_IRDADEVICE
 
#define MAX_CONFIG_NUM   5
 
#define GSM_WaitForAutoLen(s, buffer, type, timeout, request)   GSM_WaitFor(s,buffer,strlen(buffer),type,timeout,request)
 

Typedefs

typedef struct _GSM_User GSM_User
 

Functions

GSM_Error GSM_RegisterAllPhoneModules (GSM_StateMachine *s)
 
GSM_Error GSM_WaitForOnce (GSM_StateMachine *s, unsigned const char *buffer, size_t length, int type, int timeout)
 
GSM_Error GSM_WaitFor (GSM_StateMachine *s, unsigned const char *buffer, size_t length, int type, int timeout, GSM_Phone_RequestID request) WARNUNUSED
 
GSM_Error GSM_DispatchMessage (GSM_StateMachine *s)
 
void GSM_DumpMessageText (GSM_StateMachine *s, unsigned const char *message, size_t messagesize, int type)
 
void GSM_DumpMessageTextRecv (GSM_StateMachine *s, unsigned const char *message, size_t messagesize, int type)
 
void GSM_DumpMessageBinary (GSM_StateMachine *s, unsigned const char *message, size_t messagesize, int type)
 
void GSM_DumpMessageBinaryRecv (GSM_StateMachine *s, unsigned const char *message, size_t messagesize, int type)
 
void GSM_OSErrorInfo (GSM_StateMachine *s, const char *description)
 

Variables

GSM_Device_Functions ProxyDevice
 
GSM_Phone_Functions NAUTOPhone
 
GSM_Phone_Functions DUMMYPhone
 

Detailed Description

Author
Michal Čihař
Marcin Wiacek

Definition in file gsmstate.h.