logo资料库

SIM800 Series_MMS_Application Note_V1.02.pdf

第1页 / 共13页
第2页 / 共13页
第3页 / 共13页
第4页 / 共13页
第5页 / 共13页
第6页 / 共13页
第7页 / 共13页
第8页 / 共13页
资料共13页,剩余部分请下载后查看
About Document
Version History
Scope
Contents
1 Introduction
1.1 Purpose of the document
1.2 Related documents
1.3 Conventions and abbreviations
2 MMS Introduction
3 AT Commands
3.1 AT Commands Description
3.2 Summary of CME ERROR Codes
4 MMS Examples
4.1 Initialization
4.2 Configuration
4.3 Active Bearer Profile
4.4 Send MMS
4.5 Receive MMS
4.6 Read a Push Message
4.7 Read a File of MMS
4.8 Exit
SIM800 Series_MMS _Application Note GPRS Module SIMCom Wireless Solutions Limited Building B, SIM Technology Building, No.633, Jinzhong Road Changning District, Shanghai P.R. China Tel: 86-21-31575100 support@simcom.com www.simcom.com
SIM800 Series_MMS_Application Note_V1.02 SIM800 Series_MMS_Application Note 1.02 2020-06-18 Released Document Title: Version: Date: Status: GENERAL NOTES SIMCOM OFFERS THIS INFORMATION AS A SERVICE TO ITS CUSTOMERS, TO SUPPORT APPLICATION AND ENGINEERING EFFORTS THAT USE THE PRODUCTS DESIGNED BY SIMCOM. THE INFORMATION PROVIDED IS BASED UPON REQUIREMENTS SPECIFICALLY PROVIDED TO SIMCOM BY THE CUSTOMERS. SIMCOM HAS NOT UNDERTAKEN ANY INDEPENDENT SEARCH FOR ADDITIONAL RELEVANT INFORMATION, INCLUDING ANY INFORMATION THAT MAY BE IN THE CUSTOMER’S POSSESSION. FURTHERMORE, SYSTEM VALIDATION OF THIS PRODUCT DESIGNED BY SIMCOM WITHIN A LARGER ELECTRONIC SYSTEM REMAINS THE RESPONSIBILITY OF THE CUSTOMER OR THE CUSTOMER’S SYSTEM INTEGRATOR. ALL SPECIFICATIONS SUPPLIED HEREIN ARE SUBJECT TO CHANGE. COPYRIGHT THIS DOCUMENT CONTAINS PROPRIETARY TECHNICAL INFORMATION WHICH IS THE PROPERTY OF SIMCOM WIRELESS SOLUTIONS LIMITED COPYING, TO OTHERS AND USING THIS DOCUMENT, ARE FORBIDDEN WITHOUT EXPRESS AUTHORITY BY SIMCOM. OFFENDERS ARE LIABLE TO THE PAYMENT OF INDEMNIFICATIONS. ALL RIGHTS RESERVED BY SIMCOM IN THE PROPRIETARY TECHNICAL INFORMATION ,INCLUDING BUT NOT LIMITED TO REGISTRATION GRANTING OF A PATENT , A UTILITY MODEL OR DESIGN. ALL SPECIFICATION SUPPLIED HEREIN ARE SUBJECT TO CHANGE WITHOUT NOTICE AT ANY TIME. SIMCom Wireless Solutions Limited Building B, SIM Technology Building, No.633 Jinzhong Road, Changning District, Shanghai P.R. China Tel: +86 21 31575100 Email: simcom@simcom.com For more information, please visit: https://www.simcom.com/download/list-863-en.html For technical support, or to report documentation errors, please visit: https://www.simcom.com/ask/ or email to: support@simcom.com Copyright © 2020 SIMCom Wireless Solutions Limited All Rights Reserved. www.simcom.com 2 / 13
SIM800 Series_MMS_Application Note_V1.02 About Document Version History Version Date V1.00 V1.01 V1.02 2013-08-01 2016-11-17 2020-06-15 Scope Owner Dingfeng.zhu Dingfen.zhu Fumei.zeng /Wenjie.Lai What is new New version Scope Change the style This document presents the AT command of MMS operation and application examples. This document can apply to SIM800 series modules with MMS function. www.simcom.com 3 / 13
SIM800 Series_MMS_Application Note_V1.02 Contents About Document .................................................................................................................... 3 Version History ...................................................................................................................................... 3 Scope .................................................................................................................................................... 3 Contents ................................................................................................................................. 4 Introduction ..................................................................................................................... 5 1 1.1 Purpose of the document ............................................................................................................ 5 1.2 Related documents ..................................................................................................................... 5 1.3 Conventions and abbreviations ................................................................................................... 5 2 MMS Introduction ........................................................................................................... 6 3 AT Commands ................................................................................................................. 7 3.1 AT Commands Description ......................................................................................................... 7 3.2 Summary of CME ERROR Codes .............................................................................................. 8 4 MMS Examples ................................................................................................................ 9 4.1 Initialization ................................................................................................................................. 9 4.2 Configuration ............................................................................................................................... 9 4.3 Active Bearer Profile ................................................................................................................. 10 4.4 Send MMS ................................................................................................................................ 10 4.5 Receive MMS ............................................................................................................................ 12 4.6 Read a Push Message .............................................................................................................. 12 4.7 Read a File of MMS .................................................................................................................. 13 4.8 Exit ............................................................................................................................................ 13 www.simcom.com 4 / 13
SIM800 Series_MMS_Application Note_V1.02 1 Introduction 1.1 Purpose of the document Based on module AT command manual, this document will introduce MMS application process. Developers could understand and develop application quickly and efficiently based on this document. 1.2 Related documents [1] SIM800 Series_AT Command Manual [2]wap-209-mmsencapsulation-20020105-a 1.3 Conventions and abbreviations Abbreviation MMS URL UART PDU Description Multimedia short message Uniform Resource Locator Universal Asynchronous Receiver and transmitter Protocol Data Unit www.simcom.com 5 / 13
SIM800 Series_MMS_Application Note_V1.02 2 MMS Introduction This chapter introduces the MMS feature of SIM800 series modules. 1) SIM800 series support sending and receiving MMS only through HTTP protocol. 2) Character sets of SIM800 series support Unicode (both little endian and big endian) and UTF8 and support ASCII code only for English and numerals. 3) The maximum data size of an MMS is 300 Kbytes. 4) The maximum size of an image file is 300 Kbytes. 5) The maximum size of a text file is 15360 bytes. 6) The maximum number of files to be enclosed is 10. 7) 8) 9) It is necessary to input text data into modem with header of Unicode (both little endian and big endian, "FF FE" is the header for Unicode little endian and "FE FF" is the header for Unicode big endian). It includes "MMS PUSH" in "+CMTI: …" when the received short message is a MMS push message (either M-Notification.ind or M-Delivery.ind ). If the current received MMS push message is a concatenated message, it will include ",," after "MMS PUSH". is the total number of the parts of the concatenated message and is the index of the current part in the whole concatenated message. For example: +CMTI: "SM",1,"MMS PUSH",2,1. In the URC, 2 means the concatenated push message including two parts and 1 means the current message is the first part. When all parts of the concatenated push message have been received, it will prompt "+CMTI: …" URC with "MMS PUSH" and without ",,". For example: +CMTI: "SM",1,"MMS PUSH". 10) X-profile parameters need to be configured for some MMS server, or some problems like image compression error may occur, also the x-profile address which is not configured by default should be set according to the customer’s own hardware environment. 11) The output text from the modem is encoded with little endian Unicode, but the head of Unicode is omitted. www.simcom.com 6 / 13
SIM800 Series_MMS_Application Note_V1.02 3 AT Commands 3.1 AT Commands Description Command AT+CMMSCURL AT+CMMSPROTO AT+CMMSCID AT+CMMSSENDCFG AT+CMMSEDIT AT+CMMSDOWN AT+CMMSDELFILE AT+CMMSSEND AT+CMMSRECP AT+CMMSCC AT+CMMSBCC AT+CMMSDELRECP AT+CMMSDELCC AT+CMMSDELBCC AT+CMMSRECV AT+CMMSVIEW AT+CMMSREAD AT+CMMSRDPUSH AT+CMMSUA AT+CMMSPROFILE AT+CMMSTIMEOUT AT+CMMSSTATUS AT+CMMSINIT AT+CMMSTERM AT+CMMSSCONT Description Set the URL of the MMS center Set the protocol parameter and MMS proxy Set the network parameters for MMS Set the parameters for sending MMS Enter or exit edit mode Download the file data or title from UART Delete the file of the edited MMS by file index Start MMS sending Add recipients Add copy recipients Add secret recipients Delete recipients Delete copy recipients Delete secret recipients Receive MMS Get the MMS into buffer and show the information Read the given file of the MMS in the buffer Read the information of the MMS PUSH message Set user agent Set user agent profile Set MMS timeout Get MMS status Initialize MMS function Exit MMS function Save MMS context www.simcom.com 7 / 13
SIM800 Series_MMS_Application Note_V1.02 3.2 Summary of CME ERROR Codes Final result code +CME ERROR: indicates an error related to mobile equipment or network. The operation is similar to result code ERROR. None of the following commands should be executed in the same Command line. Neither ERROR nor OK result code will be returned. The following is just the additional code for MMS. About other codes, please refer to reference [1]. Code of Meaning 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 MMS task is busy now The MMS data is oversized The operation is overtime There is no MMS receiver The storage for address is full Failed to find the address The connection to network is failed Failed to read push message This is not a MMS push message GPRS in not attached TCPIP stack is busy The MMS storage is full The box is empty Failed to save MMS It is in edit mode It is not in edit mode No content in the buffer Not find the file Failed to receive MMS Failed to read MMS Not M-Notification.ind The MMS inclosure is full Unknown www.simcom.com 8 / 13
分享到:
收藏