Gammu API  1.32.90
MMS messages

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)

Detailed Description

MMS messages manipulations.

Enumeration Type Documentation

MMS address type.

Enumerator:
MMSADDRESS_PHONE 
MMSADDRESS_UNKNOWN 

Definition at line 1079 of file gammu-message.h.

Function Documentation

GSM_Error GSM_ClearMMSMultiPart ( GSM_EncodedMultiPartMMSInfo info)

Clears MMS data, used to initialize structure.

GSM_Error GSM_DecodeMMSFileToMultiPart ( GSM_Debug_Info di,
GSM_File file,
GSM_EncodedMultiPartMMSInfo info 
)

Decodes MMS data.

GSM_Error GSM_GetMMSFolders ( GSM_StateMachine s,
GSM_MMSFolders folders 
)

Lists MMS folders.

Parameters
sState machine pointer.
foldersPointer to structure, whehe folder information will be stored.
Returns
Error code.
GSM_Error GSM_GetNextMMSFileInfo ( GSM_StateMachine s,
unsigned char *  FileID,
int *  MMSFolder,
gboolean  start 
)

Retrieves next part of MMS file information.

Parameters
sState machine pointer.
[in,out]FileIDFile ID will be stored here, might be used for consequent reads.
[in,out]MMSFolderMMS folder ID will be stored here, might be used for consequent reads.
[in]startWhether to start reading.
Returns
Error code.