Command | Possible response(s) |
|
|
if text mode (+CMGF=1): | if text mode (+CMGF=1) and sending |
+CMGC=<fo>,<ct>[,<pid>[,<mn>[,<da>[ | successful: |
,<toda>]]]]<CR> | +CMGC: <mr>[,<scts>] |
text is | 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=? |
| list of supported | s |
| +CMMS: ( | <n> ) | |
| <n> | disable |
|
| 0 |
| |
| 1 | keep enabled until the time between the response of the latest message send | |
| command (+CMGS, +CMSS, etc.) and the next send command exceeds | ||
Value | 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 | ||
| 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
AT+CNMI? | (check that status reports are routed to TE) | |
+CNMI: 2,1,0,1,0 |
|
|
OK |
| (status report wanted; otherwise default settings) |
AT+CSMP=49,167,0,0 |
| |
OK |
| (start editing a message) |
AT+CMGS="+358501234567" | ||
> 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
+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)
Extended AT Commands Manual | Page 44 of 70 |