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 
 71 
+CMGS: <mr> 
If sending is not successful: 
+CMS ERROR 
Parameter: 
<length
> 
Length of PDU 
<pdu
> 
The PDU begins with the service-center address 
(according to GSM 04.11, [9]), followed by the TPDU 
(according to GSM 03.40, [6]) in hexadecimal format 
<mr
> 
Message reference 
<ackpdu
> 
RP-ACK PDU according to GSM 03.40 [6] 
AT+CMGW
AT+CMGW  Write an SMS to the SMS memory 
Test command  Response:  
AT+CMGW=? 
OK/ERROR/+CME ERROR 
Write command 
If PDU mode (+CMGF=0) 
AT+CMGW=<length
>[,<stat>]<CR> 
PDU is given:  
<ctrl-Z/ESC> 
Response: 
+CMGW: <index
> 
+CMS ERROR 
Parameter: 
<length
> 
Length of PDU 
<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 
<pdu
> 
The PDU begins with the service-center address 
(according to GSM 04.11, [9]), followed by the TPDU 
(according to GSM 03.40, [6]) in hexadecimal format 
<index
> 
Index of message in selected memory <mem1> 
AT+CMMS
AT+CMMS  More (Short) Message to Send 
Test command  Response: 
AT+CMMS=? 
+CMMS: (list of supported <mode
>s) 
Parameter: 
<mode
>  0 
Disable 
1 
Keep link enabled until time between last send messages 
command response and next send command exceeds 5 
seconds then ME closes the link and TA switches <n> to 
0 
2 
keep link enabled until time between last send messages 










