Specifications
SIM900 AT Commands Set
SIM900_ATC_V1.01 99 23.06.2010
Response
TA deletes message from preferred message storage <mem1> location
<index>.
OK
ERROR
If error is related to ME functionality:
+CMS ERROR:<err>
Write Command
AT+CMGD=<in
dex>[,<delflag>]
Parameters
<index> integer type; value in the range of location numbers supported by
the associated memory
<delflag> 0 Delete the message specified in <index>
1 Delete all read messages from preferred message storage,
leaving unread messages and stored mobile originated
messages (whether sent or not) untouched
2 Delete all read messages from preferred message storage
and sent mobile originated messages, leaving unread
messages and unsent mobile originated messages
untouched
3 Delete all read messages from preferred message storage,
sent and unsent mobile originated messages leaving unread
messages untouched
4 Delete all messages from preferred message storage
including unread messages
Reference
GSM 07.05
Note
4.2.2 AT+CMGF Select SMS Message Format
AT+CMGF Select SMS Message Format
Response
+CMGF: <mode>
OK
Read Command
AT+CMGF?
Parameter
see Write Command
Test Command
AT+CMGF=?
Response
+CMGF: (list of supported <mode>s)
OK
Write Command
AT+CMGF=<mo
de>
Response
TA sets parameter to deNote which input and output format of messages to
use.
OK