LTE Standard Module Series
LTE Standard MMS Application Note
LTE_Standard_MMS_Application_Note 15 / 26
OK
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".
OK
AT+QMMSEDIT=4,1,"test EM05 mms"
//Edit the title of the MMS message.
OK
AT+QMMSEDIT=4
//Query the title of the MMS message.
+QMMSEDIT: 4,"ASCII","test EM05 mms"
OK
//If the
<charset>
is not ASCII, the
<optstring>
should be the hex string of the inputted data.
AT+QMMSCFG="character", "UTF8"
//Set the charset as "UTF8".
OK
AT+QMMSEDIT=4,1,"7465737420454D3035206D6D73"
//Edit the title of MMS message.
"7465737420454D3035206D6D73"
is
the hex string of "test EM05 MMS" in
UTF8.
OK
AT+QMMSEDIT=4
//Query the title of the MMS message.
+QMMSEDIT: 4,"UTF8","7465737420454D3035206D6D73"
OK
//Delete the title by executing
AT+QMMSEDIT=4,0
.
AT+QMMSEDIT=4,0
//Delete the title of the MMS message.
OK
AT+QMMSEDIT=4
//Query the title of the MMS message.
OK
3.4. Add Attachments
//Customers can add attachments for an MMS message. The attachments can be RAM, UFS and SD files,
but it is strongly recommended to use RAM files. The maximum number of attachments is 12, and the
maximum length of file name is 80 bytes. The total size of attachments may be restricted by the operator.
In the following example, the attachment is an RAM text file:
AT+QFUPL="RAM:test_mms.txt",100,200,1
//Upload a file to RAM. The file will be saved as
test_mms.txt
and the maximum size of file is 100