7 #ifndef __gammu_message_h 8 #define __gammu_message_h 621 const unsigned char *buffer,
size_t length,
630 unsigned char *buffer,
655 unsigned char *buffer,
664 unsigned char *buffer,
751 unsigned char DataType[10];
752 unsigned char DataName[40];
754 unsigned char Data[140];
980 EncodeMultiPartSMSID
ID;
1031 unsigned char *buffer,
1100 unsigned char ContentType[400];
1104 unsigned char SMIL[400];
1118 unsigned char Source[200];
1123 unsigned char Destination[200];
1128 unsigned char CC[200];
1134 unsigned char Subject[200];
1138 unsigned char ContentType[400];
1142 unsigned char MSGType[50];
1427 GSM_UDH UDHType, GSM_Coding_Type Coding,
int *SMSNum,
size_t *CharsLeft);
GSM_Error GSM_SetIncomingUSSD(GSM_StateMachine *s, gboolean enable)
GSM_Error GSM_SendSavedSMS(GSM_StateMachine *s, int Folder, int Location)
void GSM_SetDefaultReceivedSMSData(GSM_SMSMessage *SMS)
gboolean GSM_DecodeMultiPartSMS(GSM_Debug_Info *di, GSM_MultiPartSMSInfo *Info, GSM_MultiSMSMessage *SMS, gboolean ems)
GSM_Error GSM_SetSMSC(GSM_StateMachine *s, GSM_SMSC *smsc)
GSM_Error GSM_GetSMSC(GSM_StateMachine *s, GSM_SMSC *smsc)
GSM_MemoryEntry * Phonebook
GSM_WAPSettings * Settings
unsigned char ReplaceMessage
unsigned char ReplaceMessage
#define GSM_MAX_UDH_LENGTH
const char * GSM_SMSCodingToString(GSM_Coding_Type type)
GSM_Error GSM_SetIncomingSMS(GSM_StateMachine *s, gboolean enable)
#define GSM_MAX_NUMBER_LENGTH
GSM_MMSIndicator * MMSIndicator
void GSM_SMSCounter(GSM_Debug_Info *di, unsigned char *MessageBuffer, GSM_UDH UDHType, GSM_Coding_Type Coding, int *SMSNum, size_t *CharsLeft)
GSM_Error GSM_DecodeSMSFrame(GSM_Debug_Info *di, GSM_SMSMessage *SMS, unsigned char *buffer, GSM_SMSMessageLayout Layout)
GSM_Error GSM_GetNextMMSFileInfo(GSM_StateMachine *s, unsigned char *FileID, int *MMSFolder, gboolean start)
gboolean RejectDuplicates
GSM_Error GSM_DecodePDUFrame(GSM_Debug_Info *di, GSM_SMSMessage *SMS, const unsigned char *buffer, size_t length, size_t *final_pos, gboolean SMSC)
GSM_Error GSM_DeleteSMSFolder(GSM_StateMachine *s, int ID)
void GSM_SetDefaultSMSData(GSM_SMSMessage *SMS)
GSM_SMSMessageLayout PHONE_SMSDeliver
#define GSM_MAX_MMS_FOLDERS
GSM_Error GSM_SetIncomingCB(GSM_StateMachine *s, gboolean enable)
unsigned char DeliveryStatus
GSM_Error GSM_ClearMMSMultiPart(GSM_EncodedMultiPartMMSInfo *info)
GSM_Error GSM_GetNextSMS(GSM_StateMachine *s, GSM_MultiSMSMessage *sms, gboolean start)
#define GSM_MAX_SMS_LENGTH
MMSAddressType DestinationType
gboolean GSM_DecodeSiemensOTASMS(GSM_Debug_Info *di, GSM_SiemensOTASMSInfo *Info, GSM_SMSMessage *SMS)
#define GSM_MAX_USSD_LENGTH
gboolean MMSReportAvailable
GSM_Error GSM_GetSMSFolders(GSM_StateMachine *s, GSM_SMSFolders *folders)
#define GSM_MAX_SMS_NAME_LENGTH
GSM_Error GSM_AddSMSFolder(GSM_StateMachine *s, unsigned char *name)
#define GSM_MAX_MMS_FOLDER_NAME_LEN
#define GSM_SMS_OTHER_NUMBERS
GSM_Error GSM_SendSMS(GSM_StateMachine *s, GSM_SMSMessage *sms)
GSM_ValidityPeriodFormat Format
gboolean DateTimeAvailable
#define GSM_MAX_SMS_FOLDER_NAME_LEN
void GSM_ClearMultiPartSMSInfo(GSM_MultiPartSMSInfo *Info)
void GSM_FreeMultiPartSMSInfo(GSM_MultiPartSMSInfo *Info)
GSM_Error GSM_DecodeSMSFrameText(GSM_Debug_Info *di, GSM_SMSMessage *SMS, unsigned char *buffer, GSM_SMSMessageLayout Layout)
GSM_Error GSM_DeleteSMS(GSM_StateMachine *s, GSM_SMSMessage *sms)
GSM_Error GSM_SetSMS(GSM_StateMachine *s, GSM_SMSMessage *sms)
GSM_Error GSM_GetMMSFolders(GSM_StateMachine *s, GSM_MMSFolders *folders)
GSM_WAPBookmark * Bookmark
GSM_Coding_Type GSM_GetMessageCoding(GSM_Debug_Info *di, const char TPDCS)
GSM_Error GSM_EncodeMultiPartSMS(GSM_Debug_Info *di, GSM_MultiPartSMSInfo *Info, GSM_MultiSMSMessage *SMS)
GSM_Error GSM_GetSMS(GSM_StateMachine *s, GSM_MultiSMSMessage *sms)
#define GSM_MAX_MULTI_SMS
GSM_Error GSM_DecodeMMSFileToMultiPart(GSM_Debug_Info *di, GSM_File *file, GSM_EncodedMultiPartMMSInfo *info)
GSM_SMSMessageLayout PHONE_SMSStatusReport
#define GSM_MAX_SMS_FOLDERS
GSM_Error GSM_EncodeSMSFrame(GSM_Debug_Info *di, GSM_SMSMessage *SMS, unsigned char *buffer, GSM_SMSMessageLayout Layout, int *length, gboolean clear)
GSM_Error GSM_AddSMS(GSM_StateMachine *s, GSM_SMSMessage *sms)
void GSM_DecodeUDHHeader(GSM_Debug_Info *di, GSM_UDHHeader *UDH)
GSM_SMSMessageLayout PHONE_SMSSubmit
GSM_Error GSM_SetFastSMSSending(GSM_StateMachine *s, gboolean enable)
void GSM_EncodeUDHHeader(GSM_Debug_Info *di, GSM_UDHHeader *UDH)
GSM_Error GSM_GetSMSStatus(GSM_StateMachine *s, GSM_SMSMemoryStatus *status)
GSM_Coding_Type GSM_StringToSMSCoding(const char *s)
GSM_CalendarEntry * Calendar
GSM_Error GSM_LinkSMS(GSM_Debug_Info *di, GSM_MultiSMSMessage **INPUT, GSM_MultiSMSMessage **OUTPUT, gboolean ems)
MMSAddressType SourceType
unsigned char MessageReference
gboolean ReplyViaSameSMSC
#define GSM_MAX_MULTI_MMS
GSM_Error PHONE_EncodeSMSFrame(GSM_StateMachine *s, GSM_SMSMessage *SMS, unsigned char *buffer, GSM_SMSMessageLayout Layout, int *length, gboolean clear)
GSM_ValidityPeriod Relative
GSM_Error GSM_DecodeSMSFrameStatusReportData(GSM_Debug_Info *di, GSM_SMSMessage *SMS, unsigned char *buffer, GSM_SMSMessageLayout Layout)
#define GSM_MAX_SMSC_NAME_LENGTH