Specifications
AT command set for S45 Siemens mobile phones and modems
__________________________________________________________________________________________
Siemens Document No.: A30880-A10-A001-3-D376
Revision: 1.8
Revision Date: 30. November.2001
59
2.3.9.6 AT+CMGS
AT+CMGS Send an SMS
Test command
AT+CMGS=?
Response
OK
Write command
If PDU mode (+CMGF=0)
AT+CMGS=<length><CR>
PDU is given:
<ctrl-Z/ESC>
Parameter
<length>
Length of PDU
<pdu>
See AT+CMGL command
<mr>
Message reference
Response
If sending is successful:
+CMGS: <mr>
If sending is not successful:
+CMS ERROR
2.3.9.7 AT+CMGW
AT+CMGW Write an SMS to the SMS memory
Test command
AT+CMGW=?
Response
OK
Write command
If PDU mode (+CMGF=0)
AT+CMGW=<length>[,<stat>]<CR>
PDU is given:
<ctrl-Z/ESC>
Parameter
<length>
Length of PDU
<stat>
See AT+CMGL command
<pdu>
See AT+CMGL command
<index>
Index of message in selected memory <mem1>
Response
+CMGW: <index>
+CMS ERROR










