summaryrefslogtreecommitdiffabout
path: root/gammu/emb/common/phone/at/atgen.h
Side-by-side diff
Diffstat (limited to 'gammu/emb/common/phone/at/atgen.h') (more/less context) (ignore whitespace changes)
-rw-r--r--gammu/emb/common/phone/at/atgen.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/gammu/emb/common/phone/at/atgen.h b/gammu/emb/common/phone/at/atgen.h
index 0e08ee4..bb5c559 100644
--- a/gammu/emb/common/phone/at/atgen.h
+++ b/gammu/emb/common/phone/at/atgen.h
@@ -33,31 +33,33 @@ typedef enum {
AT_Reply_CMEError,
AT_Reply_SMSEdit
} GSM_AT_Reply_State;
typedef enum {
AT_Nokia = 1,
AT_Alcatel,
AT_Siemens,
AT_HP,
AT_Falcom,
AT_Ericsson,
AT_Sagem,
+ AT_Samsung,
AT_Unknown
} GSM_AT_Manufacturer;
typedef enum {
AT_PBK_HEX = 1,
AT_PBK_GSM,
- AT_PBK_UCS2
+ AT_PBK_UCS2,
+ AT_PBK_PCCP437
} GSM_AT_PBK_Charset;
typedef enum {
AT_AVAILABLE = 1,
AT_NOTAVAILABLE
} GSM_AT_SMSMemory;
typedef enum {
AT_SBNR_AVAILABLE = 1,
AT_SBNR_NOTAVAILABLE
} GSM_AT_SBNR;
@@ -94,17 +96,21 @@ typedef struct {
int LastSMSRead;
int FirstCalendarPos;
bool CanSaveSMS;
GSM_AT_SMSMemory PhoneSMSMemory; /* Is phone SMS memory available ? */
GSM_AT_SMSMemory SIMSMSMemory; /* Is SIM SMS memory available ? */
GSM_MemoryType SMSMemory; /* Last read SMS memory */
GSM_AT_SMS_Modes SMSMode; /* PDU or TEXT mode for SMS ? */
bool OBEX;
GSM_File file;
} GSM_Phone_ATGENData;
+GSM_Error ATGEN_HandleCMSError (GSM_StateMachine *);
+GSM_Error ATGEN_HandleCMEError (GSM_StateMachine *);
+GSM_Error ATGEN_DispatchMessage (GSM_StateMachine *);
+
#endif
/* How should editor hadle tabs in this file? Add editor commands here.
* vim: noexpandtab sw=8 ts=8 sts=8:
*/