Specifications
SIM900 AT Command Manual       
SIM900_AT Command Manual_V1.03  98  12/24/2010 
If error is related to ME functionality: 
+CMS ERROR:<err> 
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: (list of supported <mode>s) 
OK 
Test Command 
AT+CMGF=? 
Parameter 
See Write Command 
Response 
+CMGF: <mode> 
OK 
Read Command 
AT+CMGF? 
Parameter 
See Write Command 
Response 
TA sets parameter to deNote which input and output format of messages to 
use. 
OK 
Write Command 
AT+CMGF=<mo
de> 
Parameter 
<mode>  0 PDU mode 
1 text mode 










