At+Cmgr Read Message - Quectel EC25 Command Manual

Lte module series, at commands
Hide thumbs Also See for EC25:
Table of Contents

Advertisement

to rules of Annex A in 3GPP TS 27.007.
- If TE character set is "HEX": ME/TA converts each 7-bit character of the GSM 7 bit
default alphabet into two IRA character long hexadecimal number.
- If <dcs>, indicates that 8-bit or UCS2 data coding scheme is used: ME/TA converts
each 8-bit octet into two IRA character long hexadecimal number.
<pdu>
In the case of SMS: 3GPP TS 24.011 SC address followed by 3GPP TS 23.040 TPDU
in hexadecimal format: ME/TA converts each octet of TP data unit into two IRA
character long hexadecimal number (e.g. octet with integer value 42 is presented to
TE as two characters 2A (IRA 50 and 65)) 3GPP TS 27.007.
<mem1>
Messages to be read and deleted from this memory storage
"SM"
"ME"
"MT"
Example
AT+CMGF=1
OK
AT+CMGL="ALL"
+CMGL: 1,"STO UNSENT","",,
<This is a test from Quectel>
+CMGL: 2,"STO UNSENT","",,
<This is a test from Quectel>
OK

9.7. AT+CMGR Read Message

The Read Command returns SMS message with location value <index> from message storage <mem1>
to the TE. If status of the message is "REC UNREAD", status in the storage changes to "REC READ".
AT+CMGR Read Message
Test Command
AT+CMGR=?
Write Command
AT+CMGR=<index>
EC25&EC21_AT_Commands_Manual
(U)SIM message storage
Mobile equipment message storage
Same as "ME" storage
//Set SMS message format as text mode
//List all messages from message storage
Response
OK
Response
TA returns SMS message with location value <index> from
message storage <mem1> to the TE. If status of the
message is "REC UNREAD", status in the storage changes to
"REC READ".
If in text mode (AT+CMGF=1) and the command is executed
successfully:
LTE Module Series
EC25&EC21 AT Commands Manual
125 / 231

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ec21

Table of Contents