76/113
11.1.17
+CMGW Write message to memory
Command
Response Default +cms
error
Execute
text mode (
+CMGF
=1):
+CMGW[=<oa/da>[,<tooa/toda>[,<stat>]]]
<CR>
text is entered
<ctrl-Z/ESC>
PDU mode (
+CMGF=0
):
+CMGW=<length>[,<stat>]<CR>
PDU is given
<ctrl-Z/ESC>
storing successful:
+CMGW: <index>
text mode:
[,129/145,
"STO UNSENT"]
PDU mode:
[,2]
x
Test
+CMGW=?
Optional. 07.05 section 3.5.3. Text/PDU entering as specified in 07.05.
11.1.18
+CMGD Delete message
Command Response
+cms
error
Execute
+CMGD=<index>
x
Test
+CMGD=?
+CMGD: (list of supported
<index>s) [,(list of
supported <delflag>s)]
Optional. 07.05 section 3.5.4.
11.1.19
+CMGC Send command
Command
Response
Default
+cms
error
Execute
text mode (
+CMGF
=1):
+CMGC=<fo>,<ct>[,<pid>[,<mn>[,
<da>,[<toda>]]]]<CR>
text is entered
<ctrl-Z/ESC>
PDU mode (
+CMGF=0
):
+CMGC=<length><CR>
PDU is given
<ctrl-Z/ESC>
text mode (
+CMGF
=1) and sending
ok:
+CMGC: <mr>[,<scts>]
PDU mode (
+CMGF
=0) and sending
ok:
+CMGC: <mr>[,<ackpdu>]
text mode:
[2,0,0,
0,"",
129/145]
x
Test
+CMGC=?
Optional. 07.05 section 3.5.5. Text/PDU entering as specified in 07.05.
11.1.20
+CMMS More messages to send
Command Response
Default
Set
+CMMS=[<n>]
0
Read
+CMMS?
+CMMS: <n>
Test
+CMMS=?
+CMMS: (0-2)
Optional. 07.05 section 3.5.6. Controls the continuity of SMS relay protocol link. If enabled
(and supported by the network), several consecutive messages can be sent (
+CMGS
etc.)
much faster as the link is kept open.