Gammu API  1.32.90
gammu-statemachine.h File Reference
#include <gammu-types.h>
#include <gammu-error.h>
#include <gammu-inifile.h>
#include <gammu-info.h>

Go to the source code of this file.

Data Structures

struct  GSM_Config

Typedefs

typedef void(* GSM_Log_Function )(const char *text, void *data)
typedef struct _GSM_StateMachine GSM_StateMachine

Enumerations

enum  GSM_ConnectionType {
  GCT_MBUS2 = 1, GCT_FBUS2, GCT_FBUS2DLR3, GCT_DKU2AT,
  GCT_DKU2PHONET, GCT_DKU5FBUS2, GCT_ARK3116FBUS2, GCT_FBUS2PL2303,
  GCT_FBUS2BLUE, GCT_FBUS2IRDA, GCT_PHONETBLUE, GCT_AT,
  GCT_BLUEGNAPBUS, GCT_IRDAOBEX, GCT_IRDAGNAPBUS, GCT_IRDAAT,
  GCT_IRDAPHONET, GCT_BLUEFBUS2, GCT_BLUEAT, GCT_BLUEPHONET,
  GCT_BLUEOBEX, GCT_FBUS2USB, GCT_BLUES60, GCT_NONE
}

Functions

GSM_Error GSM_InitConnection_Log (GSM_StateMachine *s, int ReplyNum, GSM_Log_Function log_function, void *user_data)
GSM_Error GSM_InitConnection (GSM_StateMachine *s, int ReplyNum)
GSM_Error GSM_TerminateConnection (GSM_StateMachine *s)
GSM_Error GSM_AbortOperation (GSM_StateMachine *s)
int GSM_ReadDevice (GSM_StateMachine *s, gboolean waitforreply)
gboolean GSM_IsConnected (GSM_StateMachine *s)
GSM_Error GSM_FindGammuRC (INI_Section **result, const char *force_config)
GSM_Error GSM_ReadConfig (INI_Section *cfg_info, GSM_Config *cfg, int num)
GSM_ConfigGSM_GetConfig (GSM_StateMachine *s, int num)
int GSM_GetConfigNum (const GSM_StateMachine *s)
void GSM_SetConfigNum (GSM_StateMachine *s, int sections)
GSM_StateMachineGSM_AllocStateMachine (void)
void GSM_FreeStateMachine (GSM_StateMachine *s)
GSM_ConnectionType GSM_GetUsedConnection (GSM_StateMachine *s)
GSM_Error GSM_Install (GSM_StateMachine *s, const char *ExtraPath, gboolean Minimal)

Detailed Description

Author
Michal Čihař

State machine data.

Definition in file gammu-statemachine.h.

Typedef Documentation

typedef void(* GSM_Log_Function)(const char *text, void *data)

Callback function for logging.

Parameters
textText to be printed,
will be also sent (as a separate message).

Definition at line 25 of file gammu-statemachine.h.

Enumeration Type Documentation

Connection types definitions.

Enumerator:
GCT_MBUS2 
GCT_FBUS2 
GCT_FBUS2DLR3 
GCT_DKU2AT 
GCT_DKU2PHONET 
GCT_DKU5FBUS2 
GCT_ARK3116FBUS2 
GCT_FBUS2PL2303 
GCT_FBUS2BLUE 
GCT_FBUS2IRDA 
GCT_PHONETBLUE 
GCT_AT 
GCT_BLUEGNAPBUS 
GCT_IRDAOBEX 
GCT_IRDAGNAPBUS 
GCT_IRDAAT 
GCT_IRDAPHONET 
GCT_BLUEFBUS2 
GCT_BLUEAT 
GCT_BLUEPHONET 
GCT_BLUEOBEX 
GCT_FBUS2USB 
GCT_BLUES60 
GCT_NONE 

Definition at line 109 of file gammu-statemachine.h.