UMTS/HSPA Module Series
WCDMA UGxx AT Commands Manual
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 126 / 247
OK
9.8. AT+CMGS Send Message
AT+CMGS write command sends a short message from TE to network (SMS-SUBMIT). After invoking the
write command, wait for the prompt ">" and then start to write the message. After that, enter <CTRL-Z> to
indicate the ending of PDU and begin to send the message. Sending can be cancelled by giving <ESC>
character. Abortion is acknowledged with "OK", though the message will not be sent. The message
reference <mr> is returned to the TE on successful message delivery. The value can be used to identify
message upon unsolicited delivery status report result code.
Write Command
1) If text mode (+CMGF=1):
AT+CMGS=<da>[,<toda>]<CR>
text is entered
<ctrl-Z/ESC>
ESC quits without sending
2) If PDU mode (+CMGF=0):
AT+CMGS=<length><CR>
PDU is given <ctrl-Z/ESC>
Response
TA sends message from TE to the network (SMS-SUBMIT).
Message reference value <mr> is returned to the TE on
successful message delivery. Optionally (when +CSMS
<service> value is 1 and network supports) <scts> is
returned. Values can be used to identify message upon
unsolicited delivery status report result code.
If text mode (+CMGF=1) and sent successfully:
+CMGS: <mr>
OK
If PDU mode (+CMGF=0) and sent successfully:
+CMGS: <mr>
OK
If error is related to ME functionality:
+CMS ERROR: <err>
120s, determined by network.