Справочник Пользователя для Motorola G24

Скачать
Страница из 642
Chapter 3:  AT Commands Reference
 December  31, 2007
AT Commands Reference Manual
3-107
+CNMI, New Message Indications to Terminal 
This command handles enabling of unsolicited notifications to the terminal when an SM is 
received by the G24.
After sending an unsolicited response to the TE, the G24 will expect a +CNMA (new message 
acknowledgement) from the TE within a predefined timeout of 60 seconds. The G24 will not send 
another unsolicited response to the TE before the previous one is acknowledged. If acknowledged 
within the timeout, the new SM is not saved in the message storage. If not, the new SM is saved 
in the message storage and +CNMI parameters are set to 0.
The following table shows the +CNMI parameters.
Example
AT+CNMI=?
+CNMI: (0,3),(0-2),(0,2),(0-2),(0)
OK
Command Type
Syntax
Response/Action
Set
+CNMI=[<mode>
[,<mt>[,<bm>
[,<ds>[,<bfr>]]]]]
OK
or:
+CMS ERROR: <err>
Read
+CNMI?
+CNMI:<mode>,<mt>,<bm>,<ds>,<bfr>
Test
+CNMI=?
+CNMI: (list of supported <mode>s), (list of supported <mt>s), 
(list of supported <bm>s), (list of supported <ds>s), (list of 
supported <bfr>s)
Table 3-59: +CNMI Parameters
<Parameter>
Description
<mode>
0
Buffer unsolicited result codes (default).
3
Forward unsolicited result codes directly to the terminal 
<mt>
0
No SMS-DELIVER indications are routed to the terminal (default)
1
If SMS-DELIVER is stored in the G24, the memory location indication is 
routed to the terminal using the unsolicited result code: +CMTI: 
<mem>,<index>
2
SMS-DELIVER is routed directly to the terminal
<bm>
0
No CBM indications are routed to the terminal (default)
2
New CBMs are routed directly to the terminal
The CBM of multipage "CB" and "QuickView" are not supported.
<ds>
0
No SMS-STATUS-REPORT indications are routed to the terminal (default)
1
SMS-STATUS-REPORT is routed directly to the terminal
2
If SMS-STATUS-REPORT is stored in the G24, the memory location 
indication is routed to the terminal using the unsolicited result code: +CDSI: 
<mem>,<index>
<bfr>
0
No SMS-STATUS reports are buffered.