Syntax, Parameters and values, Notes – Synaccess Networks NP-0801DTM User Manual

Page 131: Examples

Advertising
background image

3GPP TS 27.005 AT COMMANDS FOR SMS AND CBS

 

 

131 

HSPA+ AT Commands Reference Guide

 

Syntax 

Command 

Command type 

AT+CNMA 

Execute 

AT+CNMA[=<n>[,<length>[<CR>PDU is given<ctrl‐Z/ESC]]] 

Execute  
PDU mode 

AT+CNMA 

Execute 
Test mode 

AT+CNMA=? 

Test  
PDU mode 

AT+CNMA=? 

Test 
Text mode 

Parameters and Values 

<n> 

For PDU mode, type of acknowledgement. 

Send RP‐ACK without PDU (same as TEXT mode). 

Send RP‐ACK with optional PDU message. 

Send RP‐ERROR with optional PDU message. 

<length> 

Length of the PDU message. 

Notes 

„

If a directly routed message must be buffered in ME/TA (possible when +CNMI parameter <mode> equals 0 or 2) 
or AT interpreter remains too long in a state where result codes cannot be sent to TE (for example user is 
entering a message using +CMGS), acknowledgement (RP‐ACK) is sent to the network without waiting +CNMA 
command from TE. 

„

You may need to resolve an incoherence problem, due to the fact that it is possible to have contemporaneous 
different settings of parameter <mt> and <ds> of the +CNMI command in different sessions. See #PORTCFG and 
+CMUX. Only the <mt> and <ds> setting for session “0” are considered as valid to decide if +CNMA 
acknowledgment is expected or not. 

„

Reference 3GPP TS 27.005. 

Examples 

(PDU Mode) 

AT+CSMS=1

+CSMS: 1,1,1

OK

Set PDU mode.

AT+CMGF=0

OK

AT+CNMI=2,2,0,0,0

OK

Advertising