34 #ifdef GSM_ENABLE_NOKIA3650 37 #ifdef GSM_ENABLE_NOKIA650 40 #ifdef GSM_ENABLE_NOKIA6110 43 #ifdef GSM_ENABLE_NOKIA3320 46 #ifdef GSM_ENABLE_NOKIA6510 49 #ifdef GSM_ENABLE_NOKIA7110 52 #ifdef GSM_ENABLE_NOKIA9210 55 #ifdef GSM_ENABLE_ATGEN 58 #ifdef GSM_ENABLE_ALCATEL 61 #ifdef GSM_ENABLE_ATOBEX 64 #ifdef GSM_ENABLE_OBEXGEN 67 #ifdef GSM_ENABLE_GNAPGEN 75 #ifndef GSM_USED_MBUS2 76 # undef GSM_ENABLE_MBUS2 78 #ifndef GSM_USED_FBUS2 79 # undef GSM_ENABLE_FBUS2 81 #ifndef GSM_USED_FBUS2DLR3 82 # undef GSM_ENABLE_FBUS2DLR3 84 #ifndef GSM_USED_DKU2PHONET 85 # undef GSM_ENABLE_DKU2PHONET 87 #ifndef GSM_USED_DKU2AT 88 # undef GSM_ENABLE_DKU2AT 90 #ifndef GSM_USED_DKU5FBUS2 91 # undef GSM_ENABLE_DKU5FBUS2 93 #ifndef GSM_USED_FBUS2PL2303 94 # undef GSM_ENABLE_FBUS2PL2303 96 #ifndef GSM_USED_FBUS2BLUE 97 # undef GSM_ENABLE_FBUS2BLUE 99 #ifndef GSM_USED_FBUS2IRDA 100 # undef GSM_ENABLE_FBUS2IRDA 102 #ifndef GSM_USED_PHONETBLUE 103 # undef GSM_ENABLE_PHONETBLUE 106 # undef GSM_ENABLE_AT 108 #ifndef GSM_USED_ALCABUS 109 # undef GSM_ENABLE_ALCABUS 111 #ifndef GSM_USED_IRDAPHONET 112 # undef GSM_ENABLE_IRDAPHONET 114 #ifndef GSM_USED_IRDAAT 115 # undef GSM_ENABLE_IRDAAT 117 #ifndef GSM_USED_IRDAOBEX 118 # undef GSM_ENABLE_IRDAOBEX 120 #ifndef GSM_USED_BLUEFBUS2 121 # undef GSM_ENABLE_BLUEFBUS2 123 #ifndef GSM_USED_BLUEOBEX 124 # undef GSM_ENABLE_BLUEOBEX 126 #ifndef GSM_USED_BLUEPHONET 127 # undef GSM_ENABLE_BLUEPHONET 129 #ifndef GSM_USED_BLUEAT 130 # undef GSM_ENABLE_BLUEAT 132 #ifndef GSM_USED_BLUEGNAPBUS 133 # undef GSM_ENABLE_BLUEGNAPBUS 137 #if defined(GSM_ENABLE_FBUS2) || defined(GSM_ENABLE_FBUS2IRDA) || defined(GSM_ENABLE_FBUS2DLR3) || defined(GSM_ENABLE_FBUS2BLUE) || defined(GSM_ENABLE_BLUEFBUS2) || defined(GSM_ENABLE_DKU5FBUS2) || defined(GSM_ENABLE_FBUS2PL2303) 140 #ifdef GSM_ENABLE_MBUS2 143 #if defined(GSM_ENABLE_PHONETBLUE) || defined(GSM_ENABLE_IRDAPHONET) || defined(GSM_ENABLE_BLUEPHONET) || defined(GSM_ENABLE_DKU2PHONET) 146 #if defined(GSM_ENABLE_AT) || defined(GSM_ENABLE_BLUEAT) || defined(GSM_ENABLE_IRDAAT) || defined(GSM_ENABLE_DKU2AT) 149 #ifdef GSM_ENABLE_ALCABUS 152 #if defined(GSM_ENABLE_IRDAOBEX) || defined(GSM_ENABLE_BLUEOBEX) || defined(GSM_ENABLE_ATOBEX) 155 #if defined(GSM_ENABLE_BLUEGNAPBUS) || defined(GSM_ENABLE_IRDAGNAPBUS) 158 #if defined(GSM_ENABLE_S60) 162 #define GSM_ENABLE_SERIALDEVICE 163 #ifndef GSM_USED_SERIALDEVICE 164 # undef GSM_ENABLE_SERIALDEVICE 167 #define GSM_ENABLE_USBDEVICE 169 #ifndef GSM_USED_USBDEVICE 170 # undef GSM_ENABLE_USBDEVICE 172 #define GSM_ENABLE_IRDADEVICE 173 #ifndef GSM_USED_IRDADEVICE 174 # undef GSM_ENABLE_IRDADEVICE 176 #if defined(BLUEZ_FOUND) || defined(BSD_BLUE_FOUND) || defined(OSX_BLUE_FOUND) || defined(WIN32) 177 # define GSM_ENABLE_BLUETOOTHDEVICE 179 #ifndef GSM_USED_BLUETOOTHDEVICE 180 # undef GSM_ENABLE_BLUETOOTHDEVICE 184 # undef GSM_ENABLE_IRDADEVICE 185 # undef GSM_ENABLE_IRDAPHONET 186 # undef GSM_ENABLE_IRDAOBEX 187 # undef GSM_ENABLE_IRDAAT 188 # undef GSM_ENABLE_IRDAGNAPBUS 189 # undef GSM_ENABLE_DKU2AT 190 # undef GSM_ENABLE_FBUS2IRDA 191 # undef GSM_ENABLE_BLUETOOTHDEVICE 192 # undef GSM_ENABLE_BLUEPHONET 193 # undef GSM_ENABLE_BLUEOBEX 194 # undef GSM_ENABLE_BLUEAT 195 # undef GSM_ENABLE_BLUEFBUS2 196 # undef GSM_ENABLE_BLUEGNAPBUS 197 # undef GSM_ENABLE_PHONETBLUE 198 # undef GSM_ENABLE_FBUS2BLUE 201 #ifdef GSM_ENABLE_SERIALDEVICE 206 #ifdef GSM_ENABLE_USBDEVICE 209 #ifdef GSM_ENABLE_IRDADEVICE 212 #ifdef GSM_ENABLE_BLUETOOTHDEVICE 259 #ifdef GSM_ENABLE_SERIALDEVICE 265 #ifdef GSM_ENABLE_IRDADEVICE 271 #ifdef GSM_ENABLE_BLUETOOTHDEVICE 277 #ifdef GSM_ENABLE_USBDEVICE 301 #ifdef GSM_ENABLE_SERIALDEVICE 307 #ifdef GSM_ENABLE_IRDADEVICE 313 #ifdef GSM_ENABLE_BLUETOOTHDEVICE 319 #ifdef GSM_ENABLE_USBDEVICE 348 int length,
int type);
363 #ifdef GSM_ENABLE_MBUS2 366 #if defined(GSM_ENABLE_FBUS2) || defined(GSM_ENABLE_FBUS2IRDA) || defined(GSM_ENABLE_FBUS2DLR3) || defined(GSM_ENABLE_DKU5FBUS2) || defined(GSM_ENABLE_FBUS2BLUE) || defined(GSM_ENABLE_BLUEFBUS2) || defined(GSM_ENABLE_FBUS2PL2303) 369 #if defined(GSM_ENABLE_PHONETBLUE) || defined(GSM_ENABLE_IRDAPHONET) || defined(GSM_ENABLE_BLUEPHONET) || defined(GSM_ENABLE_DKU2PHONET) 372 #if defined(GSM_ENABLE_AT) || defined(GSM_ENABLE_BLUEAT) || defined(GSM_ENABLE_IRDAAT) || defined(GSM_ENABLE_DKU2AT) 375 #ifdef GSM_ENABLE_ALCABUS 378 #if defined(GSM_ENABLE_IRDAOBEX) || defined(GSM_ENABLE_BLUEOBEX) || defined(GSM_ENABLE_ATOBEX) 381 #if defined(GSM_ENABLE_BLUEGNAPBUS) || defined(GSM_ENABLE_IRDAGNAPBUS) 384 #if defined(GSM_ENABLE_S60) 396 #ifdef GSM_ENABLE_MBUS2 399 #if defined(GSM_ENABLE_FBUS2) || defined(GSM_ENABLE_FBUS2IRDA) || defined(GSM_ENABLE_FBUS2DLR3) || defined(GSM_ENABLE_DKU5FBUS2) || defined(GSM_ENABLE_FBUS2PL2303) || defined(GSM_ENABLE_FBUS2BLUE) || defined(GSM_ENABLE_BLUEFBUS2) 402 #if defined(GSM_ENABLE_PHONETBLUE) || defined(GSM_ENABLE_IRDAPHONET) || defined(GSM_ENABLE_BLUEPHONET) || defined(GSM_ENABLE_DKU2PHONET) 405 #if defined(GSM_ENABLE_AT) || defined(GSM_ENABLE_BLUEAT) || defined(GSM_ENABLE_IRDAAT) || defined(GSM_ENABLE_DKU2AT) 408 #ifdef GSM_ENABLE_ALCABUS 411 #if defined(GSM_ENABLE_IRDAOBEX) || defined(GSM_ENABLE_BLUEOBEX) || defined(GSM_ENABLE_ATOBEX) 414 #if defined(GSM_ENABLE_BLUEGNAPBUS) || defined(GSM_ENABLE_IRDAGNAPBUS) 417 #if defined(GSM_ENABLE_S60) 466 char HardwareCache[50];
470 char ProductCodeCache[50];
695 #ifdef GSM_ENABLE_NOKIA3320 698 #ifdef GSM_ENABLE_NOKIA3650 701 #ifdef GSM_ENABLE_NOKIA650 704 #ifdef GSM_ENABLE_NOKIA6110 707 #ifdef GSM_ENABLE_NOKIA6510 710 #ifdef GSM_ENABLE_NOKIA7110 713 #ifdef GSM_ENABLE_ATGEN 716 #ifdef GSM_ENABLE_ALCATEL 719 #ifdef GSM_ENABLE_ATOBEX 722 #ifdef GSM_ENABLE_OBEXGEN 725 #ifdef GSM_ENABLE_GNAPGEN 728 #ifdef GSM_ENABLE_S60 1321 #ifdef GSM_ENABLE_NOKIA3320 1324 #ifdef GSM_ENABLE_NOKIA3650 1327 #ifdef GSM_ENABLE_NOKIA6110 1330 #ifdef GSM_ENABLE_NOKIA650 1333 #ifdef GSM_ENABLE_NOKIA6510 1336 #ifdef GSM_ENABLE_NOKIA7110 1339 #ifdef GSM_ENABLE_NOKIA9210 1342 #ifdef GSM_ENABLE_ATGEN 1345 #ifdef GSM_ENABLE_ALCATEL 1348 #ifdef GSM_ENABLE_ATOBEX 1351 #ifdef GSM_ENABLE_OBEXGEN 1354 #ifdef GSM_ENABLE_GNAPGEN 1357 #ifdef GSM_ENABLE_S60 1399 #define MAX_CONFIG_NUM 5 1447 size_t length,
int type,
int timeout);
1462 size_t length,
int type,
int timeout,
1478 #define GSM_WaitForAutoLen(s,buffer,type,timeout,request) \ 1479 GSM_WaitFor(s,buffer,strlen(buffer),type,timeout,request)
void GSM_DumpMessageBinary(GSM_StateMachine *s, unsigned const char *message, size_t messagesize, int type)
GSM_Config * CurrentConfig
GSM_SecurityCodeType * SecurityStatus
gboolean EnableIncomingUSSD
unsigned char * Netmonitor
GSM_Device_ProxyData Proxy
IncomingUSSDCallback IncomingUSSD
GSM_BinaryPicture * Picture
IncomingCBCallback IncomingCB
void * IncomingCallUserData
#define GSM_MAX_VERSION_LENGTH
void * IncomingUSSDUserData
GSM_Phone_Functions NAUTOPhone
void GSM_DumpMessageTextRecv(GSM_StateMachine *s, unsigned const char *message, size_t messagesize, int type)
GSM_Reply_Function * UserReplyFunctions
GSM_ConnectionType ConnectionType
GSM_SMSMemoryStatus * SMSStatus
GSM_MultiSMSMessage * GetSMSMessage
GSM_CalendarSettings * CalendarSettings
GSM_Phone_DUMMYData DUMMY
SendSMSStatusCallback SendSMSStatus
GSM_Error GSM_DispatchMessage(GSM_StateMachine *s)
gboolean EnableIncomingCB
GSM_NetworkInfo * NetworkInfo
void(* SendSMSStatusCallback)(GSM_StateMachine *s, int status, int MessageReference, void *user_data)
void * SendSMSStatusUserData
gboolean EnableIncomingCall
GSM_Error GSM_WaitForOnce(GSM_StateMachine *s, unsigned const char *buffer, size_t length, int type, int timeout)
GSM_ToDoStatus * ToDoStatus
#define GSM_MAX_MODEL_LENGTH
GSM_CalendarStatus * CalStatus
GSM_FileSystemStatus * FileSystemStatus
GSM_ChatSettings * ChatSettings
GSM_PhoneModel * ModelInfo
#define GSM_MAX_IMEI_LENGTH
GSM_SignalQuality * SignalQuality
#define GSM_MAX_VERSION_DATE_LENGTH
void(* IncomingUSSDCallback)(GSM_StateMachine *s, GSM_USSDMessage *ussd, void *user_data)
void(* IncomingCallCallback)(GSM_StateMachine *s, GSM_Call *call, void *user_data)
GSM_Protocol_Message * SentMsg
unsigned char * SecurityCode
GSM_FMStation * FMStation
GSM_MultiWAPSettings * WAPSettings
GSM_Error GSM_WaitFor(GSM_StateMachine *s, unsigned const char *buffer, size_t length, int type, int timeout, GSM_Phone_RequestID request) WARNUNUSED
#define GSM_MAX_MANUFACTURER_LENGTH
GSM_SyncMLSettings * SyncMLSettings
GSM_WAPBookmark * WAPBookmark
GSM_Phone_RequestID RequestID
void GSM_OSErrorInfo(GSM_StateMachine *s, const char *description)
GSM_Device_Functions * Functions
IncomingCallCallback IncomingCall
GSM_MultiCallDivert * Divert
GSM_AllRingtonesInfo * RingtonesInfo
void(* IncomingCBCallback)(GSM_StateMachine *s, GSM_CBMessage *cb, void *user_data)
GSM_BatteryCharge * BatteryCharge
GSM_Device_Functions ProxyDevice
void * IncomingCBUserData
GSM_SMSFolders * SMSFolders
GSM_Phone_Functions * Functions
GSM_Phone_Functions DUMMYPhone
void * IncomingSMSUserData
GSM_Reply_Function * ReplyFunctions
GSM_Error GSM_RegisterAllPhoneModules(GSM_StateMachine *s)
void GSM_DumpMessageBinaryRecv(GSM_StateMachine *s, unsigned const char *message, size_t messagesize, int type)
GSM_Protocol_Functions * Functions
GSM_GPRSAccessPoint * GPRSPoint
GSM_MemoryStatus * MemoryStatus
GSM_SMSMessage * SaveSMSMessage
gboolean EnableIncomingSMS
GSM_DisplayFeatures * DisplayFeatures
GSM_SpeedDial * SpeedDial
void(* IncomingSMSCallback)(GSM_StateMachine *s, GSM_SMSMessage *sms, void *user_data)
GSM_Protocol_Message * RequestMsg
volatile size_t MessagesCount
IncomingSMSCallback IncomingSMS
void GSM_DumpMessageText(GSM_StateMachine *s, unsigned const char *message, size_t messagesize, int type)
unsigned char * PhoneString