LTE Standard Module Series
LTE Standard MMS Application Note
LTE_Standard_MMS_Application_Note 16 / 26
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
OK
AT+QFLST="RAM:*"
//Query the file list of RAM.
+QFLST: "RAM:test_mms.txt",100
OK
AT+QMMSCFG="character","ASCII"
//Set the charset as "ASCII" for
RAM:test_mms.txt
.
OK
AT+QMMSEDIT=5,1,"RAM:test_mms.txt"
//Add attachments for the MMS message.
OK
AT+QMMSEDIT=5
//Query the attachments.
+QMMSEDIT: 5,"RAM:test_mms.txt"
OK
//In the following example, the attachment is an RAM JPG file:
AT+QFUPL="RAM:test_pic.jpg",200,300,1
//Upload a file to RAM. The file will be saved as
test_pic.jpg
and the maximum size of file is 200 bytes.
300 indicates timeout value, and 1 indicates ACK mode.
For
more
details,
please
refer
to
Quectel_LTE_Standard_FILE_Application_Note
.
CONNECT
<Input 200 bytes data>
+QFUPL: 200,0
OK
AT+QFLST="RAM:*"
//Query the file list of RAM.
+QFLST: "RAM:test_mms.txt",100
+QFLST: "RAM:test_pic.jpg",200
OK
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.
OK
AT+QMMSEDIT=5
//Query the attachments.
+QMMSEDIT: 5,"RAM:test_mms.txt"
+QMMSEDIT: 5,"RAM:test_pic.jpg"
OK