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     
  70 
<index>,<stat>,[<alpha>],<length><CR><LF><pdu><CR><LF>[...]] 
Parameter: 
<index
> 
Index of message in selected memory <mem1> 
<stat
> 
See Test command 
<pdu
> 
The PDU begins with the service-center address (according 
to GSM 04.11, [9]), followed by the TPDU (according to GSM 
03.40, [3]) in hexadecimal format 
otherwise: +CMS ERROR 
<alpha
> 
String type alphanumeric representation of <num> 
<length
> 
Length of PDU 
AT+CMGR
AT+CMGR  Read in an SMS 
Revision according to 3GPP TS 27.005  
Test command  Response: 
AT+CMGR=? 
OK/ERROR/+CME ERROR 
Write command 
AT+CMGR=<index> 
Response: 
If PDU mode (+CMGF=0) and command is successful: 
+CMGR: <stat
>,,<length><CR><LF><pdu> 
Parameter: 
<index
> 
Index of message in selected memory <mem1> 
<pdu
> 
The PDU begins with the service-center address (according 
to GSM 04.11, [9]), followed by the TPDU (according to 
GSM 03.40, [3]) in hexadecimal format 
<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 
<length> 
  Length of PDU 
otherwise: +CMS ERROR 
AT+CMGS
AT+CMGS  Send an SMS 
Test command  Response: 
AT+CMGS=? 
OK/ERROR/+CME ERROR 
Write command 
If PDU mode (+CMGF=0) 
AT+CMGS=<length
><CR> 
PDU is given:  
<ctrl-Z/ESC> 
Response: 
If sending is successful: 










