User guide

3GPP TS 27.005 AT COMMANDS FOR SMS AND CBS
97 AT Commands for EV-DO-EV3 Modems
Parameters and Values
<index> In the message storage <memw>, the location value of the message to send.
<da> Destination address, string type represented in the currently selected character
set (see +CSCS); if given it is used instead of the one stored with the message.
<toda> Type of destination address.
129 Number in national format.
145 Number in international format (contains the "+").
If message is successfully sent to the network then the result is sent in the format:
+CMSS: <mr>
where:
<mr> - message reference number.
If message sending fails for some reason, an error code is reported:
+CMS ERROR:<err>
Notes
To store a message in the <memw> storage see command +CMGW.
To avoid malfunctions is suggested to wait for the +CMSS: <mr> or +CMS ERROR: <err> response before
issuing further commands.
Reference: GSM 27.005.
Example Text Mode
AT+CMGF=1
OK
AT+CMGW="0165872928"
> test message...
+CMGW: 5
OK
AT+CMSS=5
+CMSS: 136
OK
Delete Message +CMGD
Execute command deletes messages from memory <memr>.
Test command shows the valid memory locations and optionally, <delflag> supported values.
+CMGD: (supported <index>s list)[,(supported <delflag>s list)]
Syntax
Command Command type
AT+CMGD=<index>[,<delflag>] Execute
AT+CMGD=? Test