Quectel LTE Standard MMS Application Note
Quectel LTE Standard MMS Application Note

Quectel LTE Standard MMS Application Note

Lte standard module

Advertisement

Quick Links

LTE Standard
Application Note
LTE Standard Module Series
Rev. LTE_Standard_MMS_Application_Note_V1.1
Date: 2020-02-20
Status: Released
MMS
www.quectel.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the LTE Standard MMS and is the answer not in the manual?

Questions and answers

Summary of Contents for Quectel LTE Standard MMS

  • Page 1 LTE Standard Application Note LTE Standard Module Series Rev. LTE_Standard_MMS_Application_Note_V1.1 Date: 2020-02-20 Status: Released www.quectel.com...
  • Page 2 QUECTEL OFFERS THE INFORMATION AS A SERVICE TO ITS CUSTOMERS. THE INFORMATION PROVIDED IS BASED UPON CUSTOMERS’ REQUIREMENTS. QUECTEL MAKES EVERY EFFORT TO ENSURE THE QUALITY OF THE INFORMATION IT MAKES AVAILABLE. QUECTEL DOES NOT MAKE ANY WARRANTY AS TO THE INFORMATION CONTAINED HEREIN, AND DOES NOT ACCEPT ANY LIABILITY FOR ANY INJURY, LOSS OR DAMAGE OF ANY KIND INCURRED BY USE OF OR RELIANCE UPON THE INFORMATION.
  • Page 3: About The Document

    LTE Standard Module Series LTE Standard MMS Application Note About the Document Revision History Version Date Author Description Duke XIN/ 2017-12-08 Initial Haley HUANG Added AT command syntax (Chapter 1.2). Added commands AT+QMMSCFG?, AT+QMMSEDIT?, AT+QMMSEND? Domingo DENG/ 2020-02-20 AT+QMMSCFG="connecttimeout" (Chapter 2).
  • Page 4: Table Of Contents

    LTE Standard Module Series LTE Standard MMS Application Note Contents About the Document ..........................2 Contents ..............................3 Table Index ..............................4 Introduction ............................5 1.1. The Process of Sending MMS Messages ................. 5 1.2. AT Command Syntax ......................... 6 Description of MMS AT Commands ....................
  • Page 5 LTE Standard Module Series LTE Standard MMS Application Note Table Index Table 1: Types of AT Commands and Responses ..................6 Table 2: Summary of Error Codes ......................23 Table 3: Description of HTTP(S) Response Code ..................25 Table 4: Related Documents ........................26 Table 5: Terms and Abbreviations ......................
  • Page 6: Introduction

    LTE Standard Module Series LTE Standard MMS Application Note Introduction Quectel LTE Standard modules provide MMS application interface for sending messages including multimedia objects (image, audio, rich text, etc.). This document is a reference guide to all the AT commands defined for MMS.
  • Page 7: At Command Syntax

    LTE Standard Module Series LTE Standard MMS Application Note sending MMS messages successfully, the file should be deleted by AT+QFDEL command. If the attachment text file, character should specified AT+QMMSCFG="character",<charset> first. more details, please refer Quectel_LTE_Standard_FILE_AT_Commands_Manual. Step 4: Send MMS messages by AT+QMMSEND=<timeout>. It may take some time to send MMS messages successfully.
  • Page 8: Description Of Mms At Commands

    LTE Standard Module Series LTE Standard MMS Application Note Description of MMS AT Commands 2.1. AT+QMMSCFG Configure Parameters of MMS The command can be used to configure PDP context ID, MMSC, proxy, character type and other MMS parameters. If the Write Command only executes one parameter, it will query the current settings.
  • Page 9 LTE Standard Module Series LTE Standard MMS Application Note Write Command Response AT+QMMSCFG="mmsc"[,<URL>] If <URL> is omitted, query the current settings: +QMMSCFG: "mmsc",<URL> If <URL> is specified, configure MMSC URL: +CME ERROR: <err> Write Command Response AT+QMMSCFG="proxy"[,<gateway>,<po If <gateway> and <port> are both omitted, query the rt>]...
  • Page 10 LTE Standard Module Series LTE Standard MMS Application Note +CME ERROR: <err> Write Command Response AT+QMMSCFG="supportfield"[,<mode>] If <mode> is omitted, query the current settings: +QMMSCFG: "supportfield",<mode> If <mode> is specified: +CME ERROR: <err> Write Command Response AT+QMMSCFG="connecttimeout"[,<con If <connect_timeout> is omitted, query the current nect_timeout>]...
  • Page 11: At+Qmmsedit Edit Mms Messages

    LTE Standard Module Series LTE Standard MMS Application Note 2 days 1 week Maximum Depend on network configuration <pri> Integer type. The priority of the MMS message. Normal High Depend on network configuration <sendrep> Integer type. Whether to deliver the report.
  • Page 12 LTE Standard Module Series LTE Standard MMS Application Note supported <function_configure>s),<optstring> Read Command Response AT+QMMSEDIT? Write Command If <function_configure> and <optstring> are omitted: AT+QMMSEDIT=<function>[,<function_con When <function> is not 0, query the specified settings figure>[,<optstring>]] of <function>: List of [+QMMSEIDT: <function>,<optstring>] +CME ERROR: <err>...
  • Page 13: At+Qmmsend Send Mms Messages

    LTE Standard Module Series LTE Standard MMS Application Note Operate MMS message title Operate file as attachment <function_configure> Integer type. Enable/disable <function>. Delete the specified settings of <function>. Set the specified settings of <function>. <optstring> String type. If <function>=1, 2 or 3, it is the recipient address. The maximum number of recipients is 6.
  • Page 14 LTE Standard Module Series LTE Standard MMS Application Note Parameter <timeout> Integer type. The maximum time to send MMS messages. The range is 1-65535. Unit: second. <httprsp> Integer type. The response code of HTTP(S), for reference only. For example, 200 indicates HTTP(S) posts data successfully.
  • Page 15: Examples

    LTE Standard Module Series LTE Standard MMS Application Note Examples 3.1. Add Recipients //Add phone number or email address as a recipient. The maximum number of recipients is 6. AT+QMMSEDIT=1,1,"13856122546" //Add a phone number as a recipient. AT+QMMSEDIT=1,1,"recipient .test@quectel.com" //Add an email address as a recipient.
  • Page 16: Edit The Title Of Mms Messages

    LTE Standard Module Series LTE Standard MMS Application Note 3.3. Edit the Title of MMS Messages //The character set of title is set by AT+QMMSCFG="character",<charset>. If the <charset> is "ASCII", add the title as follows: AT+QMMSCFG="character","ASCII" //Set the charset as "ASCII".
  • Page 17 LTE Standard Module Series LTE Standard MMS Application Note bytes. 200 indicates timeout value, and 1 indicates ACK mode. For more details, please refer to Quectel_LTE_Standard_FILE_Application_Note. CONNECT <Input 100 bytes data> +QFUPL: 100,0 AT+QFLST="RAM:*" //Query the file list of RAM.
  • Page 18: Clear All Contents Of Mms Messages

    LTE Standard Module Series LTE Standard MMS Application Note //Delete the attachments by executing AT+QMMSEDIT=5,0. AT+QMMSEDIT=5,0 //Delete attachments for the MMS message. All attachments will be deleted. AT+QMMSEDIT=5 //Query the attachments. //After the MMS message is sent successfully, RAM files should be deleted by AT+QFDEL.
  • Page 19 LTE Standard Module Series LTE Standard MMS Application Note AT+QIACT? //Query the state of PDP context. +QIACT: 1,1,1,"10.7.157.1" AT+QMMSCFG="contextid",1 //Set the PDP context ID as 1. The PDP context ID must be activated first. AT+QMMSCFG="contextid" //Query the PDP context ID.
  • Page 20 LTE Standard Module Series LTE Standard MMS Application Note +QMMSEDIT: 2,"copy.test@quectel.com" AT+QMMSEDIT=3 //Query the BCC recipient address. +QMMSEDIT: 3,"secret.test@quectel.com" AT+QMMSCFG="character","ASCII" //Configure the character type as ASCII for title. AT+QMMSEDIT=4,1,"test EM05 mms" //Edit the title of the MMS message. AT+QMMSEDIT=4 //Query the title of the MMS message.
  • Page 21 LTE Standard Module Series LTE Standard MMS Application Note indicates ACK mode. For more details, please refer Quectel_LTE_Standard_FILE_Application_Note. CONNECT <Input 200 bytes data> +QFUPL: 200,0 AT+QFLST="RAM:*" +QFLST: "RAM:test_ram.txt",100 //Query the file list of RAM. +QFLST: "RAM:test_pic.jpg",200 AT+QMMSEDIT=5,1,"RAM:test_pic.jpg" //RAM:test_pic.jpg is not a text file. There is no need to specify the character set.
  • Page 22: Error Handling

    LTE Standard Module Series LTE Standard MMS Application Note Error Handling 4.1. Executing MMS AT Commands Fails When executing MMS AT commands, if response "ERROR" is received from the module, please check whether the (U)SIM card is inserted, and whether it is +CPIN: READY returned when executing AT+CPIN?.
  • Page 23 LTE Standard Module Series LTE Standard MMS Application Note deactivate the PDP context by AT+QIDEACT command and re-activate it by AT+QIACT command, then send the MMS message again. LTE_Standard_MMS_Application_Note 22 / 26...
  • Page 24: Summary Of Code

    LTE Standard Module Series LTE Standard MMS Application Note Summary of <err> Code The error code <err> indicates an error related to mobile equipment or network. The details about <err> are described in the following table. Table 2: Summary of Error Codes <err>...
  • Page 25 LTE Standard Module Series LTE Standard MMS Application Note PDP activation failed PDP deactivated Socket creation failed Socket connection failed Socket read failed Socket write failed Socket closed Timeout Encode data error HTTP(S) decode data error LTE_Standard_MMS_Application_Note 24 / 26...
  • Page 26: Description Of Http(S) Response Codes

    LTE Standard Module Series LTE Standard MMS Application Note Description of HTTP(S) Response Codes The HTTP(S) protocol error code <httprsp> indicates an error replied from MMSC. Please refer to RFC2616 (Hypertext Transfer Protocol--HTTP/1.1). The details about <httprsp> are described in the following table.
  • Page 27: Appendix A References

    LTE Standard Module Series LTE Standard MMS Application Note Appendix A References Table 4: Related Documents Document Name Remark Wap MMS protocol standard package Wap-209-mmsencapsulation-20020105-a of documents RFC2616 Hypertext transfer protocol--HTTP/1.1 Quectel_LTE_Standard_FILE_Application_Note LTE Standard FILE Application Note Introduction about Standard...

Table of Contents