Specifications
   AT command set for XX Siemens mobile phones and modems 
__________________________________________________________________________________________ 
 Document No.: A30880-A10-A001-XX-
D376 
 Revision: Master R75 
    Revision Date:  29. September.2004 
 69 
AT+CMGD 
AT+CMGD  Delete an SMS in the SMS memory 
Test command  Response: 
At+CMGD=? 
OK/ERROR/+CME ERROR 
Write command 
AT+CMGD=<index> 
Response: 
OK/ERROR/+CMS ERROR 
Parameter: 
<index
> 
Index of message in the selected memory <mem1> 
AT+CMGF
AT+CMGF  SMS format 
Test command  Response: 
AT+CMGF=? 
+CMGF: (list of supported <mode
>s) 
Parameter: 
<mode
>  0 
PDU mode 
Read command  Response: 
AT+CMGF? 
+CMGF: <mode
> 
Parameter: 
<mode
> 
See Test command 
Write command 
AT+CMGF=[<mode>] 
 Response: 
OK/ERROR 
Parameter: 
<mode
> 
See Test command 
AT+CMGL
AT+CMGL  List SMS 
Revision according to 3GPP TS 27.005  
Test command  Response: 
AT+CMGL=? 
+CMGL: (list of supported <stat
>s) 
Parameter: 
<stat
> 
0 REC UNREAD 
i.e. received messages unread (default) 
1 REC READ 
i.e. received messages read 
2 STO UNSENT 
i.e. stored unsent messages 
3 STO SENT 
i.e. stored sent messages 
4 ALL 
i.e. all messages 
Write command 
AT+CMGL[=<stat>] 
Response: 
If PDU mode (+CMGF=0) and command are successful: 
+CMGL: 
<index>,<stat
>,[<alpha>],<length><CR><LF><pdu>[<CR><LF> 
+CMGL: 










