include/alp/postal_mms_envelope.h File Reference


Detailed Description

Postal MMS Envelope related APIs.

#include <alp/postal_types.h>
#include <alp/postal_property.h>
#include <alp/postal_service.h>
#include <alp/postal_mms_service.h>

Go to the source code of this file.

MMS PROPERTY ENVELOPE CLASS

Types of MMS message classes. Optional. Class of the MM. Value Auto indicates a MM that is automatically generated by the client. If the field value is Auto, then the originating terminal SHALL NOT request Delivery-Report or Read-Report. If field is not present, the receiver interprets the message as personal.

#define ALP_POSTAL_MMS_ENVELOPE_CLASS_ADVERTISEMENT   ((alp_postal_mms_envelope_class_t)129)
 The MMS message class is advertisement.
#define ALP_POSTAL_MMS_ENVELOPE_CLASS_AUTO   ((alp_postal_mms_envelope_class_t)131)
 The MMS message class is automatic.
#define ALP_POSTAL_MMS_ENVELOPE_CLASS_INFORMATIONAL   ((alp_postal_mms_envelope_class_t)130)
 The MMS message class is informational.
#define ALP_POSTAL_MMS_ENVELOPE_CLASS_PERSONAL   ((alp_postal_mms_envelope_class_t)128)
 The MMS message class is personal.

MMS PROPERTY ENVELOPE CONTENT CLASS

Possible status related to the Content Class

#define ALP_POSTAL_MMS_ENVELOPE_CONTENT_CLASS_CONTENT_BASIC   ((alp_postal_mms_envelope_content_class_t)0x134)
 MMS content-basic.
#define ALP_POSTAL_MMS_ENVELOPE_CONTENT_CLASS_CONTENT_RICH   ((alp_postal_mms_envelope_content_class_t)0x135)
 MMS content-rich.
#define ALP_POSTAL_MMS_ENVELOPE_CONTENT_CLASS_IMAGE_BASIC   ((alp_postal_mms_envelope_content_class_t)0x129)
 MMS image-basic.
#define ALP_POSTAL_MMS_ENVELOPE_CONTENT_CLASS_IMAGE_RICH   ((alp_postal_mms_envelope_content_class_t)0x130)
 MMS image-rich.
#define ALP_POSTAL_MMS_ENVELOPE_CONTENT_CLASS_MEGAPIXEL   ((alp_postal_mms_envelope_content_class_t)0x133)
 MMS megapixel.
#define ALP_POSTAL_MMS_ENVELOPE_CONTENT_CLASS_TEXT   ((alp_postal_mms_envelope_content_class_t)0x128)
 MMS text.
#define ALP_POSTAL_MMS_ENVELOPE_CONTENT_CLASS_VIDEO_BASIC   ((alp_postal_mms_envelope_content_class_t)0x131)
 MMS video-basic.
#define ALP_POSTAL_MMS_ENVELOPE_CONTENT_CLASS_VIDEO_RICH   ((alp_postal_mms_envelope_content_class_t)0x132)
 MMS video-rich.

MMS PROPERTY ENVELOPE CONTENT TYPE

Content type of a MMS message.

#define ALP_POSTAL_MMS_ENVELOPE_CONTENT_TYPE_MULTIPART_MIXED   "application/vnd.wap.multipart.mixed"
 MMS content type MIXED.
#define ALP_POSTAL_MMS_ENVELOPE_CONTENT_TYPE_MULTIPART_RELATED   "application/vnd.wap.multipart.related"
 MMS content type RELATED (SMIL - Bodypart required).

MMS PROPERTY ENVELOPE VERSION

Version of MMS message. Optional.

#define ALP_POSTAL_MMS_ENVELOPE_INVALID_VERSION   ((alp_postal_mms_envelope_version_t)0x00)
 MMS Version Invalid.
#define ALP_POSTAL_MMS_ENVELOPE_VERSION_1_0   ((alp_postal_mms_envelope_version_t)0x90)
 MMS Version 1.0.
#define ALP_POSTAL_MMS_ENVELOPE_VERSION_1_1   ((alp_postal_mms_envelope_version_t)0x91)
 MMS Version 1.1.
#define ALP_POSTAL_MMS_ENVELOPE_VERSION_1_2   ((alp_postal_mms_envelope_version_t)0x92)
 MMS Version 1.2.
#define ALP_POSTAL_MMS_ENVELOPE_VERSION_1_3   ((alp_postal_mms_envelope_version_t)0x93)
 MMS Version 1.3.

MMS PROPERTY ENVELOPE READ STATUS

Envelope Status related to the Read Report

#define ALP_POSTAL_MMS_ENVELOPE_READ_STATUS_DELETED_WITHOUT_READ   ((alp_postal_mms_envelope_read_status_t)129)
 The envelope has been deleted without being read.
#define ALP_POSTAL_MMS_ENVELOPE_READ_STATUS_ENVELOPE_READ   ((alp_postal_mms_envelope_read_status_t)128)
 The envelope has been read.

MMS PROPERTY ENVELOPE RESPONSE STATUS

The result status of ALP_POSTAL_MMS_ENVELOPE_TYPE_SEND_REQ transaction request.

#define ALP_POSTAL_MMS_ENVELOPE_RESPONSE_STATUS_ERROR_ADDRESS_UNRESOLVED   ((alp_postal_mms_envelope_response_status_t)0x84)
 The MMSC is unable to resolve one of the addresses specified in the request.
#define ALP_POSTAL_MMS_ENVELOPE_RESPONSE_STATUS_ERROR_CONTENT_NOT_ACCEPTED   ((alp_postal_mms_envelope_response_status_t)0x87)
 The MMSC cannot process the request because of message size, media types or copyright issues.
#define ALP_POSTAL_MMS_ENVELOPE_RESPONSE_STATUS_ERROR_MESSAGE_FORMAT_CORRUPT   ((alp_postal_mms_envelope_response_status_t)0x83)
 The request is badly formatted.
#define ALP_POSTAL_MMS_ENVELOPE_RESPONSE_STATUS_ERROR_MESSAGE_NOT_FOUND   ((alp_postal_mms_envelope_response_status_t)0x85)
 The MMSC is unable to retrieve the message.
#define ALP_POSTAL_MMS_ENVELOPE_RESPONSE_STATUS_ERROR_NETWORK_PROBLEM   ((alp_postal_mms_envelope_response_status_t)0x86)
 The MMSC is unable to process the request because of capacity overload.
#define ALP_POSTAL_MMS_ENVELOPE_RESPONSE_STATUS_ERROR_PERMANENT_ADDRESS_HIDING_NOT_SUPPORTED   ((alp_postal_mms_envelope_response_status_t)0xEA)
 The MMSC does not support address hiding.
#define ALP_POSTAL_MMS_ENVELOPE_RESPONSE_STATUS_ERROR_PERMANENT_CONTENT_NOT_ACCEPTED   ((alp_postal_mms_envelope_response_status_t)0xE5)
 The MMSC cannot process the request because of message size, media types or copyright issues.
#define ALP_POSTAL_MMS_ENVELOPE_RESPONSE_STATUS_ERROR_PERMANENT_FAILURE   ((alp_postal_mms_envelope_response_status_t)0xE0)
 An unspecified permanent error occurred during the processing of the request by the MMSC.
#define ALP_POSTAL_MMS_ENVELOPE_RESPONSE_STATUS_ERROR_PERMANENT_MESSAGE_FORMAT_CORRUPT   ((alp_postal_mms_envelope_response_status_t)0xE2)
 The request is badly formatted.
#define ALP_POSTAL_MMS_ENVELOPE_RESPONSE_STATUS_ERROR_PERMANENT_MESSAGE_NOT_FOUND   ((alp_postal_mms_envelope_response_status_t)0xE4)
 The MMSC is unable to retrieve the message.
#define ALP_POSTAL_MMS_ENVELOPE_RESPONSE_STATUS_ERROR_PERMANENT_REPLY_CHARGING_FORWARDING_DENIED   ((alp_postal_mms_envelope_response_status_t)0xE8)
 The forwarding request is for a message containing reply charging requirements.
#define ALP_POSTAL_MMS_ENVELOPE_RESPONSE_STATUS_ERROR_PERMANENT_REPLY_CHARGING_LIMITATIONS_NOT_MET   ((alp_postal_mms_envelope_response_status_t)0xE6)
 The request does not meet the reply charging limitations.
#define ALP_POSTAL_MMS_ENVELOPE_RESPONSE_STATUS_ERROR_PERMANENT_REPLY_CHARGING_NOT_SUPPORTED   ((alp_postal_mms_envelope_response_status_t)0xE9)
 The MMSC does not support reply charging.
#define ALP_POSTAL_MMS_ENVELOPE_RESPONSE_STATUS_ERROR_PERMANENT_REPLY_CHARGING_REQUEST_NOT_ACCEPTED   ((alp_postal_mms_envelope_response_status_t)0xE7)
 The MMSC supports reply charging but the request is rejected because of incompatibility with service or user profile configurations.
#define ALP_POSTAL_MMS_ENVELOPE_RESPONSE_STATUS_ERROR_PERMANENT_SENDING_ADDRESS_UNRESOLVED   ((alp_postal_mms_envelope_response_status_t)0xE3)
 The MMSC is unable to resolve one of the addresses specified in the request.
#define ALP_POSTAL_MMS_ENVELOPE_RESPONSE_STATUS_ERROR_PERMANENT_SERVICE_DENIED   ((alp_postal_mms_envelope_response_status_t)0xE1)
 The request is rejected because of service authentication and authorization failure(s).
#define ALP_POSTAL_MMS_ENVELOPE_RESPONSE_STATUS_ERROR_SERVICE_DENIED   ((alp_postal_mms_envelope_response_status_t)0x82)
 The request is rejected because of service authentication and authorization failure(s).
#define ALP_POSTAL_MMS_ENVELOPE_RESPONSE_STATUS_ERROR_TRANSIENT_FAILURE   ((alp_postal_mms_envelope_response_status_t)0xC0)
 The request is valid but the MMSC is unable to process it because of some temporary conditions.
#define ALP_POSTAL_MMS_ENVELOPE_RESPONSE_STATUS_ERROR_TRANSIENT_MESSAGE_NOT_FOUND   ((alp_postal_mms_envelope_response_status_t)0xC2)
 Owing to some temporary conditions, the MMSC is unable to retrieve the message.
#define ALP_POSTAL_MMS_ENVELOPE_RESPONSE_STATUS_ERROR_TRANSIENT_NETWORK_PROBLEM   ((alp_postal_mms_envelope_response_status_t)0xC3)
 Owing to some temporary conditions, the MMSC is unable to process the request.
#define ALP_POSTAL_MMS_ENVELOPE_RESPONSE_STATUS_ERROR_TRANSIENT_PARTIAL_SUCCESS   ((alp_postal_mms_envelope_response_status_t)0xC4)
 The MMSC was not able to successfully complete the requested action for all the indicated multimedia messages.
#define ALP_POSTAL_MMS_ENVELOPE_RESPONSE_STATUS_ERROR_TRANSIENT_SENDING_ADDRESS_UNRESOLVED   ((alp_postal_mms_envelope_response_status_t)0xC1)
 Owing to some temporary conditions, the MMSC is unable to resolve an address specified in the request.
#define ALP_POSTAL_MMS_ENVELOPE_RESPONSE_STATUS_ERROR_UNSPECIFIED   ((alp_postal_mms_envelope_response_status_t)0x81)
 An unspecified error occurred during the processing of the request by the MMSC.
#define ALP_POSTAL_MMS_ENVELOPE_RESPONSE_STATUS_ERROR_UNSUPPORTED_MESSAGE   ((alp_postal_mms_envelope_response_status_t)0x88)
 Only used for version management. Used in a response to an unknown PDU or PDU with different major version number.
#define ALP_POSTAL_MMS_ENVELOPE_RESPONSE_STATUS_OK   ((alp_postal_mms_envelope_response_status_t)0x80)
 The request has been accepted by the MMSC.

MMS PROPERTY ENVELOPE RETRIEVE STATUS

The result status of ALP_POSTAL_MMS_ENVELOPE_TYPE_RETRIEVE_CONF transaction request.

#define ALP_POSTAL_MMS_ENVELOPE_RETRIEVE_STATUS_ERROR_PERMANENT_CONTENT_UNSUPPORTED   ((alp_postal_mms_envelope_retrieve_status_t)0xE3)
 The message contains contents that the recipient MMS client cannot handle and the MMSC is not able to perform the appropriate content adaptation.
#define ALP_POSTAL_MMS_ENVELOPE_RETRIEVE_STATUS_ERROR_PERMANENT_FAILURE   ((alp_postal_mms_envelope_retrieve_status_t)0xE0)
 An unspecified permanent error occurred during the processing of the request by the MMSC.
#define ALP_POSTAL_MMS_ENVELOPE_RETRIEVE_STATUS_ERROR_PERMANENT_MESSAGE_NOT_FOUND   ((alp_postal_mms_envelope_retrieve_status_t)0xE2)
 The MMSC is unable to retrieve the message.
#define ALP_POSTAL_MMS_ENVELOPE_RETRIEVE_STATUS_ERROR_PERMANENT_SERVICE_DENIED   ((alp_postal_mms_envelope_retrieve_status_t)0xE1)
 The request is rejected because of service authentication and authorization failure(s).
#define ALP_POSTAL_MMS_ENVELOPE_RETRIEVE_STATUS_ERROR_TRANSIENT_FAILURE   ((alp_postal_mms_envelope_retrieve_status_t)0xC0)
 The request is valid but the MMSC is unable to process it because of some temporary conditions.
#define ALP_POSTAL_MMS_ENVELOPE_RETRIEVE_STATUS_ERROR_TRANSIENT_MESSAGE_NOT_FOUND   ((alp_postal_mms_envelope_retrieve_status_t)0xC1)
 Owing to some temporary conditions, the MMSC is unable to retrieve the message.
#define ALP_POSTAL_MMS_ENVELOPE_RETRIEVE_STATUS_ERROR_TRANSIENT_NETWORK_PROBLEM   ((alp_postal_mms_envelope_retrieve_status_t)0xC2)
 The MMSC is unable to process the request because of capacity overload.
#define ALP_POSTAL_MMS_ENVELOPE_RETRIEVE_STATUS_OK   ((alp_postal_mms_envelope_retrieve_status_t)0x80)
 The request is accepted by the MMSC.

MMS PROPERTY ENVELOPE STATUS

Possible status of an MMS message - For Delivery Report and NotifyResp.Ind transactions

#define ALP_POSTAL_MMS_ENVELOPE_STATUS_DEFERRED   ((alp_postal_mms_envelope_status_t)131)
 The MMS has has been deferred.
#define ALP_POSTAL_MMS_ENVELOPE_STATUS_EXPIRED   ((alp_postal_mms_envelope_status_t)128)
 The MMS is in an expired status.
#define ALP_POSTAL_MMS_ENVELOPE_STATUS_FORWARDED   ((alp_postal_mms_envelope_status_t)134)
 The MMS has been forwarded.
#define ALP_POSTAL_MMS_ENVELOPE_STATUS_INDETERMINATE   ((alp_postal_mms_envelope_status_t)133)
 The MMS has an indeterminate state.
#define ALP_POSTAL_MMS_ENVELOPE_STATUS_REJECTED   ((alp_postal_mms_envelope_status_t)130)
 The MMS has been rejected.
#define ALP_POSTAL_MMS_ENVELOPE_STATUS_RETRIEVED   ((alp_postal_mms_envelope_status_t)129)
 The MMS has been retrieved.
#define ALP_POSTAL_MMS_ENVELOPE_STATUS_UNREACHABLE   ((alp_postal_mms_envelope_status_t)135)
 The MMS is unreachable.
#define ALP_POSTAL_MMS_ENVELOPE_STATUS_UNRECOGNIZED   ((alp_postal_mms_envelope_status_t)132)
 reserved for version management purpose only.

POSTAL MMS ENVELOPE STATUS

Defines the envelope MMS status provided by the ALP_POSTAL_NOTIFICATION_ENVELOPE_STATUS_CHANGE notification callback.

#define ALP_POSTAL_MMS_ENVELOPE_STATUS_UPDATED_ENVELOPE_TYPE_RECEIVED_ACK_IND   ((alp_postal_envelope_status_t)ALP_POSTAL_ENVELOPE_LAST_STATUS + 1)
 The envelope has been updated during the a receiving process while plugin submitted the Acknowledge indicator to the MMSC.
#define ALP_POSTAL_MMS_ENVELOPE_STATUS_UPDATED_ENVELOPE_TYPE_RECEIVED_NOTIFY_RESP_IND   ((alp_postal_envelope_status_t)ALP_POSTAL_ENVELOPE_LAST_STATUS + 2)
 The envelope has been updated during the a receiving process while plugin submitted the new message confirmation to the MMSC.

MMS ENVELOPE MAXIMUM SUBJECT SIZE

Defines bodypart types max sizes.

#define ALP_POSTAL_MMS_ENVELOPE_SUBJECT_MAX_SIZE   40
 Maximun size in bytes allowed for an envelope subject property ALP_POSTAL_PROPERTY_ENVELOPE_SUBJECT.

MMS PROPERTY ENVELOPE TYPE

Possible status of the MMS Envelope according to messaging transactions. Some transactions, like those involved with MMBOX, have not been included because they are not supported by the plugin at this moment.

#define ALP_POSTAL_MMS_ENVELOPE_TYPE_ACKNOWLEDGE_IND   ((alp_postal_mms_envelope_type_t)133)
 Acknowledge indicator.
#define ALP_POSTAL_MMS_ENVELOPE_TYPE_DELIVERY_IND   ((alp_postal_mms_envelope_type_t)134)
 Delivery Report about sent message (M-Delivery.ind).
#define ALP_POSTAL_MMS_ENVELOPE_TYPE_FORWARD_CONF   ((alp_postal_mms_envelope_type_t)138)
 Forward transaction confirmation. M-forward.conf.
#define ALP_POSTAL_MMS_ENVELOPE_TYPE_FORWARD_REQ   ((alp_postal_mms_envelope_type_t)137)
 Forward transaction request. M-forward.req.
#define ALP_POSTAL_MMS_ENVELOPE_TYPE_NOT_SUPPORTED   ((alp_postal_mms_envelope_type_t)180)
 Arbitrary number that envolves status not supported by the plugin at this moment.
#define ALP_POSTAL_MMS_ENVELOPE_TYPE_NOTIFICATION_IND   ((alp_postal_mms_envelope_type_t)130)
 MMS notification about new message. M-Notification.ind.
#define ALP_POSTAL_MMS_ENVELOPE_TYPE_NOTIFY_RESP_IND   ((alp_postal_mms_envelope_type_t)131)
 MMS notification about new message confirmation. M-NotifyResp.ind.
#define ALP_POSTAL_MMS_ENVELOPE_TYPE_READ_ORIG_IND   ((alp_postal_mms_envelope_type_t)136)
 The Read Report is sent. M-read-orig.ind.
#define ALP_POSTAL_MMS_ENVELOPE_TYPE_READ_REC_IND   ((alp_postal_mms_envelope_type_t)135)
 The originating MMS Client request a Read Report for an MM. M-read-rec.ind.
#define ALP_POSTAL_MMS_ENVELOPE_TYPE_RETRIEVE_CONF   ((alp_postal_mms_envelope_type_t)132)
 Retrieve message from MMS Proxy-Relay confirmation.
#define ALP_POSTAL_MMS_ENVELOPE_TYPE_SEND_CONF   ((alp_postal_mms_envelope_type_t)129)
 Send message to MMS Proxy-Relay confirmation. M-Send.conf.
#define ALP_POSTAL_MMS_ENVELOPE_TYPE_SEND_REQ   ((alp_postal_mms_envelope_type_t)128)
 Send message to MMS Proxy-Relay. M-Send.req. used as default when invoking envelope submission.

MMS ENVELOPE PROPERTIES

Defines the MMS envelope properties.

#define ALP_POSTAL_MMS_PROPERTY_ENVELOPE_ADAPTATION_ALLOWED   ALP_POSTAL_PROPERTY(ALP_POSTAL_SERVICE_ID_MMS, ALP_POSTAL_SERVICE_CLASS_ID_ENVELOPE, ALP_POSTAL_PROPERTY_TYPE_BOOLEAN, 22)
 The content adaptation allowed property - Indicates if the originator wishes the MM to be adapted or not (optional MMS v1.3).
#define ALP_POSTAL_MMS_PROPERTY_ENVELOPE_CLASS   ALP_POSTAL_PROPERTY(ALP_POSTAL_SERVICE_ID_MMS, ALP_POSTAL_SERVICE_CLASS_ID_ENVELOPE, ALP_POSTAL_PROPERTY_TYPE_INT, 7)
 It refers to the envelope class.
#define ALP_POSTAL_MMS_PROPERTY_ENVELOPE_CONTENT_CLASS   ALP_POSTAL_PROPERTY(ALP_POSTAL_SERVICE_ID_MMS, ALP_POSTAL_SERVICE_CLASS_ID_ENVELOPE, ALP_POSTAL_PROPERTY_TYPE_INT, 21)
 The content class property for rich content feature (optional MMS v1.3).
#define ALP_POSTAL_MMS_PROPERTY_ENVELOPE_CONTENT_LOCATION   ALP_POSTAL_PROPERTY(ALP_POSTAL_SERVICE_ID_MMS, ALP_POSTAL_SERVICE_CLASS_ID_ENVELOPE, ALP_POSTAL_PROPERTY_TYPE_C_STRING, 16)
 This field defines the location of the MM to be retrieved.
#define ALP_POSTAL_MMS_PROPERTY_ENVELOPE_CONTENT_TYPE   ALP_POSTAL_PROPERTY(ALP_POSTAL_SERVICE_ID_MMS, ALP_POSTAL_SERVICE_CLASS_ID_ENVELOPE, ALP_POSTAL_PROPERTY_TYPE_C_STRING, 15)
 The content type of the MM.
#define ALP_POSTAL_MMS_PROPERTY_ENVELOPE_DELIVERY_REPORT_REQUESTED   ALP_POSTAL_PROPERTY(ALP_POSTAL_SERVICE_ID_MMS, ALP_POSTAL_SERVICE_CLASS_ID_ENVELOPE, ALP_POSTAL_PROPERTY_TYPE_BOOLEAN, 5)
 Whether or not the envelope has requested the delivery report.
#define ALP_POSTAL_MMS_PROPERTY_ENVELOPE_DELIVERY_TIME   ALP_POSTAL_PROPERTY(ALP_POSTAL_SERVICE_ID_MMS, ALP_POSTAL_SERVICE_CLASS_ID_ENVELOPE, ALP_POSTAL_PROPERTY_TYPE_DATE, 9)
 It refers to the envelope relative delivery time, in seconds.
#define ALP_POSTAL_MMS_PROPERTY_ENVELOPE_DRM_CONTENT   ALP_POSTAL_PROPERTY(ALP_POSTAL_SERVICE_ID_MMS, ALP_POSTAL_SERVICE_CLASS_ID_ENVELOPE, ALP_POSTAL_PROPERTY_TYPE_BOOLEAN, 19)
 Indicates if the associated MM contains any DRM-protected element.
#define ALP_POSTAL_MMS_PROPERTY_ENVELOPE_EXPIRY_TIME   ALP_POSTAL_PROPERTY(ALP_POSTAL_SERVICE_ID_MMS, ALP_POSTAL_SERVICE_CLASS_ID_ENVELOPE, ALP_POSTAL_PROPERTY_TYPE_DATE, 8)
 It refers to the envelope relative expiration time, in seconds.
#define ALP_POSTAL_MMS_PROPERTY_ENVELOPE_GREETING_TEXT   ALP_POSTAL_PROPERTY(ALP_POSTAL_SERVICE_ID_MMS, ALP_POSTAL_SERVICE_CLASS_ID_ENVELOPE, ALP_POSTAL_PROPERTY_TYPE_C_STRING, 20)
 The greeting text property for post-card feature (optional MMS v1.3).
#define ALP_POSTAL_MMS_PROPERTY_ENVELOPE_MESSAGE_ID   ALP_POSTAL_PROPERTY(ALP_POSTAL_SERVICE_ID_MMS, ALP_POSTAL_SERVICE_CLASS_ID_ENVELOPE, ALP_POSTAL_PROPERTY_TYPE_C_STRING, 3)
 It refers to the Message ID of the envelope. This ID shall always be present after the MMS Proxy-Relay accepted the corresponding M-Send.req PDU.
#define ALP_POSTAL_MMS_PROPERTY_ENVELOPE_READ_REPORT_REQUESTED   ALP_POSTAL_PROPERTY(ALP_POSTAL_SERVICE_ID_MMS, ALP_POSTAL_SERVICE_CLASS_ID_ENVELOPE, ALP_POSTAL_PROPERTY_TYPE_BOOLEAN, 6)
 Whether or not the envelope has requested the read report.
#define ALP_POSTAL_MMS_PROPERTY_ENVELOPE_READ_STATUS   ALP_POSTAL_PROPERTY(ALP_POSTAL_SERVICE_ID_MMS, ALP_POSTAL_SERVICE_CLASS_ID_ENVELOPE, ALP_POSTAL_PROPERTY_TYPE_INT, 18)
 The status of the message related to the Read Report (read or deleted without being read).
#define ALP_POSTAL_MMS_PROPERTY_ENVELOPE_RESPONSE_STATUS   ALP_POSTAL_PROPERTY(ALP_POSTAL_SERVICE_ID_MMS, ALP_POSTAL_SERVICE_CLASS_ID_ENVELOPE, ALP_POSTAL_PROPERTY_TYPE_INT, 11)
 MMS response status. (mandatory).
#define ALP_POSTAL_MMS_PROPERTY_ENVELOPE_RESPONSE_TEXT   ALP_POSTAL_PROPERTY(ALP_POSTAL_SERVICE_ID_MMS, ALP_POSTAL_SERVICE_CLASS_ID_ENVELOPE, ALP_POSTAL_PROPERTY_TYPE_C_STRING, 12)
 Description which qualifies the response status value (optional).
#define ALP_POSTAL_MMS_PROPERTY_ENVELOPE_RETRIEVE_STATUS   ALP_POSTAL_PROPERTY(ALP_POSTAL_SERVICE_ID_MMS, ALP_POSTAL_SERVICE_CLASS_ID_ENVELOPE, ALP_POSTAL_PROPERTY_TYPE_INT, 13)
 MMS retrieve status. (optional).
#define ALP_POSTAL_MMS_PROPERTY_ENVELOPE_RETRIEVE_TEXT   ALP_POSTAL_PROPERTY(ALP_POSTAL_SERVICE_ID_MMS, ALP_POSTAL_SERVICE_CLASS_ID_ENVELOPE, ALP_POSTAL_PROPERTY_TYPE_C_STRING, 14)
 Description which qualifies the retrieve status value (optional).
#define ALP_POSTAL_MMS_PROPERTY_ENVELOPE_SENDER_VISIBILITY   ALP_POSTAL_PROPERTY(ALP_POSTAL_SERVICE_ID_MMS, ALP_POSTAL_SERVICE_CLASS_ID_ENVELOPE, ALP_POSTAL_PROPERTY_TYPE_BOOLEAN, 10)
 Whether or not the envelope has requested for sender visibility (true = show, false = hide).
#define ALP_POSTAL_MMS_PROPERTY_ENVELOPE_STATUS   ALP_POSTAL_PROPERTY(ALP_POSTAL_SERVICE_ID_MMS, ALP_POSTAL_SERVICE_CLASS_ID_ENVELOPE, ALP_POSTAL_PROPERTY_TYPE_INT, 17)
 It refers to the mms message status - Delivery Report.
#define ALP_POSTAL_MMS_PROPERTY_ENVELOPE_TRANSACTION_ID   ALP_POSTAL_PROPERTY(ALP_POSTAL_SERVICE_ID_MMS, ALP_POSTAL_SERVICE_CLASS_ID_ENVELOPE, ALP_POSTAL_PROPERTY_TYPE_C_STRING, 2)
 It refers to the transaction ID of the envelope. This transaction-id identifies the M-Send.conf and the corresponding M-Send.req only.
#define ALP_POSTAL_MMS_PROPERTY_ENVELOPE_TYPE   ALP_POSTAL_PROPERTY(ALP_POSTAL_SERVICE_ID_MMS, ALP_POSTAL_SERVICE_CLASS_ID_ENVELOPE, ALP_POSTAL_PROPERTY_TYPE_INT, 1)
 Specifies the PDU type.
#define ALP_POSTAL_MMS_PROPERTY_ENVELOPE_VERSION   ALP_POSTAL_PROPERTY(ALP_POSTAL_SERVICE_ID_MMS, ALP_POSTAL_SERVICE_CLASS_ID_ENVELOPE, ALP_POSTAL_PROPERTY_TYPE_INT, 4)
 It refers to the mms used version.

Typedefs

typedef uint8_t alp_postal_mms_envelope_class_t
 MMS Envelope class type.
typedef uint8_t alp_postal_mms_envelope_content_class_t
 MMS Envelope content class type.
typedef uint8_t alp_postal_mms_envelope_read_status_t
 MMS Envelope read status type.
typedef uint8_t alp_postal_mms_envelope_response_status_t
 MMS Envelope response status.
typedef uint8_t alp_postal_mms_envelope_retrieve_status_t
 MMS Envelope retrieve status.
typedef uint8_t alp_postal_mms_envelope_status_t
 MMS Envelope status type.
typedef uint8_t alp_postal_mms_envelope_type_t
 MMS Envelope Type type.
typedef uint8_t alp_postal_mms_envelope_version_t
 MMS Envelope version type.

Functions

alp_status_t alp_postal_mms_envelope_convert_to_pdu (const int iMmsPduFd, size_t *oMmsPduFdDataSizeP, const alp_postal_envelope_id_t iEnvelopeId)
 Generate a MMS PDU into a file descriptor from a stored MMS envelope.
alp_status_t alp_postal_mms_envelope_get_read_report_status_string (alp_postal_mms_envelope_read_status_t iMmsReadReportStatus, char **oMmsReadReportStatusStrP)
 Return a string describing a mms read report status value.
alp_status_t alp_postal_mms_envelope_get_response_status_string (alp_postal_mms_envelope_response_status_t iMmsEnvelopeResponseStatus, char **oMmsEnvelopeResponseStatusStrP)
 Return a string describing a mms envelope response status value.
alp_status_t alp_postal_mms_envelope_get_retrieve_status_string (alp_postal_mms_envelope_retrieve_status_t iMmsEnvelopeRetrieveStatus, char **oMmsEnvelopeRetrieveStatusStrP)
 Return a string describing a mms envelope retrieve status value.
alp_status_t alp_postal_mms_envelope_get_status_string (alp_postal_mms_envelope_status_t iMmsEnvelopeStatus, char **oMmsEnvelopeStatusStrP)
 Return a string describing a mms envelope status value.
alp_status_t alp_postal_mms_envelope_save_from_pdu (const int iMmsPduFd, size_t iMmsPduDataSize, const alp_postal_folder_id_t iFolderId, alp_postal_envelope_id_t *oEnvelopeIdP)
 Store an envelope into a folder from a file descriptor containing a MMS PDU.
alp_status_t alp_postal_mms_envelope_update_from_pdu (const int iMmsPduFd, const size_t iMmsPduDataSize, const alp_postal_envelope_id_t iEnvelopeId)
 Update a stored MMS envelope from a file descriptor containing a MMS PDU.


Generated on Wed Jul 30 07:06:40 2008 by Doxygen 1.4.6 for ALP SDK + Hiker Documentation

Copyright © 1999-2008 ACCESS CO., LTD. All rights reserved.