LTE Standard Module Series
LTE Standard MMS Application Note
LTE_Standard_MMS_Application_Note 18 / 26
AT+QIACT?
//Query the state of PDP context.
+QIACT: 1,1,1,"10.7.157.1"
OK
AT+QMMSCFG="contextid",1
//Set the PDP context ID as 1. The PDP context ID
must be activated first.
OK
AT+QMMSCFG="contextid"
//Query the PDP context ID.
+QMMSCFG: "contextid",1
OK
//Step 2: Configure the URL and proxy of MMSC.
AT+QMMSCFG="mmsc","mmsc.myuni.com"
//Configure the URL of MMSC.
"mmsc.myuni.com"
is for China Unicom.
OK
AT+QMMSCFG="mmsc"
//Query the URL of MMSC.
+QMMSCFG: "mmsc","mmsc.myuni.com"
OK
AT+QMMSCFG="proxy","10.0.0.172",80
//Configure the proxy address and port of MMSC.
"10.0.0.172:80" is for China Unicom.
OK
AT+QMMSCFG="proxy"
//Query the proxy address and port of MMSC.
+QMMSCFG: "proxy","10.0.0.172",80
OK
//Step 3: Configure sending parameters.
AT+QMMSCFG="sendparam",6,2,0,0,2,4
//Configure the sending parameters.
OK
AT+QMMSCFG="sendparam"
//Query the sending parameters.
+QMMSCFG: "sendparam",6,2,0,0,2,4
OK
//Step 4: Edit the MMS message.
AT+QMMSEDIT=1,1,"13856122546"
//Add a phone number as a recipient.
OK
AT+QMMSEDIT=2,1,"[email protected]"
//Add an email address as a CC recipient.
OK
AT+QMMSEDIT=3,1,"[email protected]"
//Add an email address as a BCC recipient.
OK
AT+QMMSEDIT=1
//Query the recipient address.
+QMMSEDIT: 1,"13856122546"
OK
AT+QMMSEDIT=2
//Query the CC recipient address.