Gammu internals
1.38.0
|
Data Structures | |
struct | GSM_MMSIndicator |
struct | GSM_OneMMSFolder |
struct | GSM_MMSFolders |
struct | GSM_EncodedMultiPartMMSEntry |
struct | GSM_EncodedMultiPartMMSInfo |
Enumerations | |
enum | MMSAddressType { MMSADDRESS_PHONE, MMSADDRESS_UNKNOWN } |
Functions | |
GSM_Error | GSM_DecodeMMSFileToMultiPart (GSM_Debug_Info *di, GSM_File *file, GSM_EncodedMultiPartMMSInfo *info) |
GSM_Error | GSM_ClearMMSMultiPart (GSM_EncodedMultiPartMMSInfo *info) |
GSM_Error | GSM_GetMMSFolders (GSM_StateMachine *s, GSM_MMSFolders *folders) |
GSM_Error | GSM_GetNextMMSFileInfo (GSM_StateMachine *s, unsigned char *FileID, int *MMSFolder, gboolean start) |
MMS messages manipulations.
enum MMSAddressType |
MMS address type.
Enumerator | |
---|---|
MMSADDRESS_PHONE | |
MMSADDRESS_UNKNOWN |
Definition at line 1085 of file gammu-message.h.
GSM_Error GSM_ClearMMSMultiPart | ( | GSM_EncodedMultiPartMMSInfo * | info | ) |
Clears MMS data, used to initialize structure.
Definition at line 416 of file gsmdata.c.
References GSM_File::Buffer, GSM_EncodedMultiPartMMSInfo::DateTimeAvailable, GSM_EncodedMultiPartMMSInfo::Entries, ERR_NONE, FALSE, GSM_EncodedMultiPartMMSEntry::File, and GSM_MAX_MULTI_MMS.
GSM_Error GSM_DecodeMMSFileToMultiPart | ( | GSM_Debug_Info * | di, |
GSM_File * | file, | ||
GSM_EncodedMultiPartMMSInfo * | info | ||
) |
Decodes MMS data.
Definition at line 469 of file gsmdata.c.
References GSM_File::Buffer, GSM_EncodedMultiPartMMSInfo::CC, GSM_EncodedMultiPartMMSInfo::CCType, GSM_EncodedMultiPartMMSEntry::ContentType, GSM_EncodedMultiPartMMSInfo::ContentType, GSM_EncodedMultiPartMMSInfo::DateTime, GSM_EncodedMultiPartMMSInfo::DateTimeAvailable, GSM_EncodedMultiPartMMSInfo::Destination, GSM_EncodedMultiPartMMSInfo::DestinationType, EncodeUnicode(), GSM_EncodedMultiPartMMSInfo::Entries, GSM_EncodedMultiPartMMSInfo::EntriesNum, ERR_FILENOTSUPPORTED, ERR_NONE, FALSE, GSM_EncodedMultiPartMMSEntry::File, Fill_GSM_DateTime(), GSM_AddWAPMIMEType(), MMSADDRESS_PHONE, MMSADDRESS_UNKNOWN, GSM_EncodedMultiPartMMSInfo::MMSReport, GSM_EncodedMultiPartMMSInfo::MMSReportAvailable, GSM_EncodedMultiPartMMSInfo::MSGType, GSM_File::Name, OSDateTime(), smfprintf(), GSM_EncodedMultiPartMMSEntry::SMIL, GSM_EncodedMultiPartMMSInfo::Source, GSM_EncodedMultiPartMMSInfo::SourceType, GSM_EncodedMultiPartMMSInfo::Subject, TRUE, and GSM_File::Used.
GSM_Error GSM_GetMMSFolders | ( | GSM_StateMachine * | s, |
GSM_MMSFolders * | folders | ||
) |
Lists MMS folders.
s | State machine pointer. |
folders | Pointer to structure, whehe folder information will be stored. |
Lists MMS folders.
Definition at line 1261 of file api.c.
References CHECK_PHONE_CONNECTION, GSM_Phone::Functions, GSM_Phone_Functions::GetMMSFolders, _GSM_StateMachine::Phone, and PRINT_LOG_ERROR.
GSM_Error GSM_GetNextMMSFileInfo | ( | GSM_StateMachine * | s, |
unsigned char * | FileID, | ||
int * | MMSFolder, | ||
gboolean | start | ||
) |
Retrieves next part of MMS file information.
s | State machine pointer. | |
[in,out] | FileID | File ID will be stored here, might be used for consequent reads. |
[in,out] | MMSFolder | MMS folder ID will be stored here, might be used for consequent reads. |
[in] | start | Whether to start reading. |
Retrieves next part of MMS file information.
Definition at line 1274 of file api.c.
References CHECK_PHONE_CONNECTION, GSM_Phone::Functions, GSM_Phone_Functions::GetNextMMSFileInfo, _GSM_StateMachine::Phone, PRINT_LOG_ERROR, and PRINT_START.