UMTS/HSPA Module Series
WCDMA UGxx AT Commands Manual
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 128 / 247
Parameter
9.10. AT+CMGW Write Message to Memory
AT+CMGW write and execution commands store a short message from TE to memory storage
<mem2>
.
Memory location
<index>
of the stored message is returned. Message status will be set to "stored
unsent" by default, but parameter
<stat>
also allows other status values to be given.
The syntax of input text is same as the one specified in the write command
+CMGS
.
OK
Read Command
AT+CMMS?
Response
+CMMS: <n>
OK
Write Command
AT+CMMS=<n>
Response
OK
ERROR
If error is related to ME functionality:
+CMS ERROR: <err>
Maximum Response Time
120s, determined by network.
Reference
3GPP TS 27.005
<n>
0 Feature disabled
1
Keep enabled until the time between the response of the latest message send command
(
+CMGS
,
+CMSS
, etc.) and the next send command exceeds 1-5 seconds (the exact value
is up to ME implementation), then ME shall close the link and TA switches
<n>
back to 0
automatically
2
Enable (if the time between the response of the latest message send command and the
next send command exceeds 1-5 seconds (the exact value is up to ME implementation),
ME shall close the link but TA will not switch
<n>
back to 0 automatically)
AT+CMGW Write Message to Memory
Test Command
AT+CMGW=?
Response
OK
Write Command
1) If text mode (
+CMGF
=1):
AT+CMGW=<oa/da>[,<tooa/toda>[,<st
Response
TA transmits SMS message (either SMS-DELIVER or
SMS-SUBMIT) from TE to memory storage
<mem2>
.
Quectel
Confidential