![Quectel EC25 series Скачать руководство пользователя страница 137](http://html2.mh-extra.com/html/quectel/ec25-series/ec25-series_command-manual_3618187137.webp)
LTE Module Series
EC25&EC21 AT Commands Manual
EC25&EC21_AT_Commands_Manual 136 / 231
Parameter
<n>
Parameter required only for PDU mode
0 Command operates similarly as in text mode
1 Send positive (RP-ACK) acknowledgement to the network. Accepted only in PDU mode
2 Send negative (RP-ERROR) acknowledgement to the network. Accepted only in PDU
mode
The Execution and Write Commands shall only be used when
AT+CSMS
parameter
<service>
equals 1
(phase 2+) and an appropriate URC has been issued by the module, i.e.:
+CMT
for
<mt>
=2 incoming message classes 0,1,3 and none;
+CMT
for
<mt>
=3 incoming message classes 0 and 3;
+CDS
for
<ds>
=1.
Example
AT+CSMS=1
OK
AT+CNMI=1,2,0,0,0
OK
+CMT: “+8615021012496”,,“13/03/18,17:07:21+32”,145,4,0,0,“+8613800551500”,145,28
This is a test from Quectel.
//Short message is outputted directly when an SMS is incoming.
AT+CNMA
//Send ACK to the network
OK
AT+CNMA
+CMS ERROR
:
340
//The second time to return error. It needs ACK only once
ERROR
If there is any error related to ME functionality:
+CMS ERROR: <err>
Write Command
AT+CNMA=<n>
Response
OK
ERROR
If there is any error related to ME functionality:
+CMS ERROR: <err>
Maximum Response Time
300ms
Reference
3GPP TS 27.005
NOTE