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
57
2.3.9 AT Cellular commands according to GSM 07.05 for SMS
GSM 07.05 commands are used for operating the SMS functions of the GSM mobile phone. The GSM module
mobile supports the SMS PDU mode.
2.3.9.1 AT+CMGC
AT+CMGC Send an SMS command
Test command
AT+CMGC=?
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:
+CMGC: <mr>
If sending is not successful:
+CMS ERROR
2.3.9.2 AT+CMGD
AT+CMGD Delete an SMS in the SMS memory
Test command
At+CMGD=?
Response
OK
Write command
AT+CMGD=<index>
Parameter
<index>
Index of message in the selected memory <mem1>
Response
OK/ERROR/+CMS ERROR
2.3.9.3 AT+CMGF
AT+CMGF SMS format
Test command
AT+CMGF=?
Response
+CMGF: (list of supported <mode>s)
Parameter
<mode>
0
PDU mode
Read command
AT+CMGF?
Response
+CMGF: <mode>
Parameter
<mode>
0
PDU mode
Write command
AT+CMGF=[<mode>]
Parameter
<mode>
0
PDU mode
Response
OK/ERROR










