Multi-Tech Systems GPRS (MTMMC-G) ユーザーズマニュアル

ページ / 203
Chapter 9 – Short Messages Commands  
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands (Document Number S000293I) 
66 
 
New Message Indication   +CNMI 
Description:  
This command selects the procedure for message reception from the network.  
Values: 
<mode>  Controls the processing of unsolicited result codes 
Important Note:
  Only <mode>=2 is supported.  
 
Any other value for <mode> (0,1 or 3) is accepted (return code will be OK),  but 
the processing of unsolicited result codes will be the same as with <mode>=2. 
 
0   Buffer unsolicited result codes in the TA. If TA result code buffer is full, indications can be 
buffered in some other place, or the oldest indications may be discarded and replaced with the 
new received indications 
 
1   Discard indication and reject new received message unsolicited result codes when TA-TE link 
is reserved. Otherwise forward them directly to the TE 
 
2   Buffer unsolicited result codes in the TA when TA-TE link is reserved and flush them to the TE 
after reservation. Otherwise forward them directly to the TE 
 
3   Forward unsolicited result codes directly to the TE. TA-TE link specific inband used to embed 
result codes and data when TA is in on-line data mode 
 <mt> 
 
Sets the result code indication routing for SMS-DELIVERs. Default is 1. 
 
0   No SMS-DELIVER indications are routed. 
 
1   SMS-DELIVERs are routed using unsolicited code: +CMTI: “SM”,<index> 
SMS-DELIVERs (except class 2 messages) are routed using unsolicited code:  
If PDU mode: 
+CMT: [<alpha>,] <length> <CR> <LF> <pdu> 
If text mode: 
+CMT: <oa>,[<alpha>,] <scts> [,<tooa>, <fo>, <pid>, <dcs>, <sca>, <tosca>, <length>] 
<CR><LF><data>  
 
3   Class 3 SMS-DELIVERs are routed directly using code in <mt>=2 ; Message of other classes 
result in indication <mt>=1 
 <bm>   Sets the rules for storing the received CBMs (Cell Broadcast Message) types. They depend on 
the coding scheme (text or PDU) and the setting of Select CBM Types (+CSCB command). 
Default is 0. 
 
0   No CBM indications are routed to the TE. The CBMs are stored. Default. 
 
1   The CBM is stored and an indication of the memory location is routed to the customer 
application using unsolicited result code: +CBMI: “BM”, <index> 
New CBMs are routed directly to the DTE using an unsolicited result code.  
If PDU mode: 
+CBM: <length><CR><LF><pdu>  (PDU mode)  
If text mode: 
 +CBM:<sn>,<mid>,<dcs>,<page>,<pages>(Text mode) <CR><LF> <data> 
 3 
Class 3 CBMs: as <bm>=2. Other classes CBMs: as <bm>=1. 
 <ds>   Used for SMS-STATUS-REPORTs. Default is 0. 
 
0 
No SMS-STATUS-REPORTs are routed. 
 1 
SMS-STATUS-REPORTs are routed using unsolicited code:  
 
 
If PDU mode:
 
 
+CDS: <length> <CR> <LF> <pdu>  
If text mode: 
+CDS: <fo>,<mr>, [<ra>] , [<tora>], <scts>,<dt>,<st>  
 
2 
SMS-STATUS-REPORTs are stored and routed using the unsolicited result code: +CDSI: 
“SR”,<index> 
 <bfr> Default is 0. 
 0 
TA buffer of unsolicited result codes defined within this command is flushed to the TE when 
<mode> 1…3 is entered (OK response shall be given before flushing the codes) 
 
1   TA buffer of unsolicited result codes defined within this command is cleared when <mode> 
1…3 is entered.