Message receiving and reading, New message indications +cnmi, Syntax – Synaccess Networks NP-0801DTM User Manual

Page 126: Parameters and values

Advertising
background image

 

3GPP TS 27.005 AT COMMANDS FOR SMS AND CBS

 

HSPA+ AT Commands Reference Guide 

126

 

Message Receiving and Reading 

New Message Indications   +CNMI 

Set command selects the behavior of the device on how the receiving of new messages from the network is 
indicated to the DTE. 

Read command returns the current parameter settings for +CNMI command in the form: 

+CNMI: <mode>,<mt>,<bm>,<ds>,<bfr>

Test command reports the supported range of values for the +CNMI command parameters. 

Syntax 

Command 

Command type 

AT+CNMI=[<mode>[,<mt>[,<bm>[,<ds>[,<bfr>]]]]] 

Set 

AT+CNMI? 

Read 

AT+CNMI=? 

Test 

Parameters and Values 

<mode> 

Unsolicited result codes buffering option.

 

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. 

Discard indication and reject new received message unsolicited result codes when 
TA‐TE link is reserved, otherwise forward them directly to the TE. 

Buffer unsolicited result codes in the TA in case the DTE is busy and flush them to 
the TE after reservation. Otherwise forward them directly to the TE.  

If <mt> is set to 1 an indication via 100 ms break is issued when a SMS is received 
while the module is in GPRS online mode. It enables the hardware ring line for 1 s. 
too. 

<mt> 

Result code indication reporting for SMS‐DELIVER. 

No SMS‐DELIVER indications are routed to the TE and messages are stored in SIM. 

If SMS‐DELIVER is stored into ME/TA, indication of the memory location is routed 
to the TE using the following unsolicited result code: 
+CMTI: <mems>,<index> 
where: 
  <mems> ‐ memory storage where the new message is stored. See +CPMS. 
  <index> ‐ location on the memory where SMS is stored. 

SMS‐DELIVERs—except class 2 messages and messages in the “store” message 
waiting indication group—are routed directly to the TE using the following 
unsolicited result code: 

 

PDU Mode 

+CMT: <alpha>,<length><CR><LF><pdu> 
where: 
  <alpha> ‐ alphanumeric representation of originator/destination number 
corresponding to the entry found in MT phonebook. Used character set is the one 
selected with command +CSCS. 
  <length> ‐ PDU length 
  <pdu> ‐ PDU message 

Advertising