System information

Extended AT Commands Manual Page 44 of 70 2009-06-25
Command Possible response(s)
if text mode (+CMGF=1):
+CMGC=<fo>,<ct>[,<pid>[,<mn>[,<da>[
,<toda>]]]]<CR>
text is entered<ctrl-Z/ESC>
if text mode (+CMGF=1) and sending
successful:
+CMGC: <mr>[,<scts>]
if sending fails:
+CMS ERROR: <err>
+CMGC=?
8.1.1.21. More Messages to Send +CMMS
Set command controls the continuity of SMS relay protocol link. When feature is enabled (and
supported by network) multiple messages can be sent much faster as link is kept open.
Test command returns supported values as a compound value.
Table 17. +CMMS action command syntax
Command Possible response(s)
+CMMS=[<n>]
+CMMS?
+CMMS: <n>
+CMMS=?
+CMMS: (list of supported <n>s)
Value
<n>
0
disable
1 keep enabled until the time between the response of the latest message send
command (+CMGS, +CMSS, etc.) and the next send command exceeds 1-5 seconds (the
exact value is up to ME implementation), then ME shall close the link and TA switches
<n> automatically back to 0
2 enable (if the time between the response of the latest message send command and
the next send command exceeds 1-5 seconds (the exact value is up to ME
implementation), ME shall close the link but TA shall not switch automatically back to
<n>=0)
8.1.1.22. Informative Examples
An example of sending a GSM 7 bit default alphabet message in text mode and a SMS-STATUS-
REPORT is wanted:
AT+CNMI? (check that status reports are routed to TE)
+CNMI: 2,1,0,1,0
OK
AT+CSMP=49,167,0,0 (status report wanted; otherwise default settings)
OK
AT+CMGS="+358501234567" (start editing a message)
> This the first line. (edit first line and press carriage return)
> This is the last line.^Z (edit second line and send message by pressing
control-Z)
+CMGS: 10 (success: message reference 10 returned from SMSC)
OK
+CDS: 2,10,"+358501234567",145,"95/07/04/13:12:14+04",
"95/07/04/13:12:20+04",0 (status report of successful message delivery
received)