Specifications

Chapter 12 – Short Message Service (SMS) Commands
Multi-Tech Systems, Inc. AT Commands for EDGE (E1) Modems (S000474A) 217
12.2 AT+CMGC Send an SMS Command
Syntax: Test Command: AT+CMGC=?
Response: OK
Write Command: If text mode (see AT+CMGF=1)
AT+CMGC=<fo>, <ct>[, <pid>[, <mn>[, <da>[, <toda>]]]]<CR> Text can be
entered <CTRL-Z>/<ESC>
Response: +CMGC: <mr>[, <scts>]
If sending fails
ERROR
+CMS ERROR: <err>
Write Command: If PDU mode (see AT+CMGF=0)
AT+CMGC=<length><CR> PDU can be entered <CTRL-Z>/<ESC>
Response: +CMGC: <mr>[, <ackpdu>]
OK
If sending fails
ERROR
+CMS ERROR: <err>
Notes:
After invoking the commands AT+CMGW, AT+CMGS or AT+CMGC it is necessary to wait for the prompt “>”
before entering text or PDU. After the prompt a timer will be started to observe the input.
At baud rates below 19200 it is recommended to use the line termination character only (refer to ATS3,
default <CR>) before entering the text or PDU. Use of the line termination character followed by the
response formatting character (refer to ATS4, default <LF> can cause problems.
This command is PIN protected.
This command is not supported in airplane mode.
12.3 AT+CMGD Delete Short Message
Description: Write command deletes a short message from preferred message storage <mem1> location
<index>.
Syntax: Test Command: AT+CMGD=?
Response: OK
Write Command: AT+CMGD=<index>
Response: OK
ERROR
+CMS ERROR: <err>
Notes:
If there is no short message stored at the selected index, the response is OK too.
Users should be aware that when using this AT command quickly after SIM PIN authentication, the SIM data
may not yet be accessible, resulting in a short delay before the requested AT command response is
returned. See Section 21.1 Restricted Access to SIM Data after SIM PIN Authentication.
This command is PIN protected.
This command is supported in airplane mode.