![Quectel EC25 series Скачать руководство пользователя страница 136](http://html2.mh-extra.com/html/quectel/ec25-series/ec25-series_command-manual_3618187136.webp)
LTE Module Series
EC25&EC21 AT Commands Manual
EC25&EC21_AT_Commands_Manual 135 / 231
Example
AT+CMGF=1
//Set SMS message format as text mode
OK
AT+CSCS=“GSM”
//Set character set as GSM which is used by the TE
OK
AT+CMGW=“15021012496”
> Hello
//Enter in text. Use
<CTRL+Z>
to send message or
<ESC>
to quit without sending.
+CMGW: 4
OK
AT+CMSS=4
//Send the message of index 4 from memory storage.
+CMSS: 54
OK
9.12. AT+CNMA New Message Acknowledgement to UE/TE
The Write and Execution Commands confirm successful receipt of a new message (SMS-DELIVER or
SMS-STATUS-REPORT) routed directly to the TE. If the UE does not receive acknowledgement within
required time (network timeout), it sends an
RP-ERROR
message to the network. The UE will
automatically disable routing to the TE by setting both
<mt>
and
<ds>
values of
AT+CNMI
to 0.
converted to characters of the currently selected TE character set (refer to
AT+CSCS
command in
3GPP TS 27.007
). The type of address is given by
<toda>
.
<toda>
Type of recipient address. 3GPP TS 24.011 TP-Recipient-Address Type-of-Address
octet in integer format.
<mr>
Message reference. 3GPP TS 23.040 TP-Message-Reference in integer format.
<scts>
Service center time stamp. 3GPP TS 23.040 TP-Service-Centre-Time-Stamp in
time-string format (refer to
<dt>
).
<ackpdu>
The format is the same as
<pdu>
in case of SMS, but without 3GPP TS 24.011 SC
address field and the parameter shall be bounded by double quote characters like a
normal string type parameter.
AT+CNMA New Message Acknowledgement to UE/TE
Test Command
AT+CNMA=?
Response
+CNMA:
(list of supported
<n>
s)
OK
Execution Command
AT+CNMA
Response
OK