Specifications

Chapter 13 – Short Message Service (SMS) Commands
Multi-Tech Systems, Inc. AT Commands for EDGE Modems (S000371B) 174
13.2 AT+CMGC Send an SMS Command
Test Command Syntax: AT+CMGC=?
Response: OK
Write Command Syntax: 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
Write Command Syntax: 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
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 baudrates 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.
13.3 AT+CMGD Delete SMS Message
Description: Write command deletes a short message from preferred message storage <mem1>
location <index>.
Test Command Syntax: AT+CMGD=?
Response: OK
Write Command Syntax: AT+CMGD=<index>
Response: OK
ERROR
+CMS ERROR
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 20.1 Restricted Access to SIM Data after SIM PIN Authentication.
13.4 AT+CMGF Select SMS Message Format
Description: The write command specifies the input and output format of the short messages.
Test Command Syntax: AT+CMGF=?
Response: +CMGF: (list of supported<mode>s)
OK
Read Command Syntax: AT+CMGF?
Response: +CMGF: <mode>
OK
Write Command Syntax: AT+CMGF=<mode>
Response: OK
Parameter Description:
<mode>
0 PDU mode. Default.
1 Text mode