4 read message - +cmgr – Rainbow Electronics GM862-QUAD-PY User Manual
Page 205

AT Commands Reference Guide
80000ST10025a Rev. 5 - 09/07/08
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 205 of 434
@CMGL - List Messages Improved
SELINT 1
<CR><LF> <data>
where
<index> - message position in the storage
<stat> - message status
<oa/da> - originator/destination address, string type, represented in the
currently selected character set (see +CSCS)
<tooa/toda> - type of number <oa/da>
129 - number in national format
145 - number in international format (contains the "+")
<length> - text length
<data> - TP-User-Data
Each message delivery confirm is represented in the format:
@CMGL: <index>,<stat>,<fo>,<mr>,,,<scts>,<dt>,<st>
where
<index> - message position in the storage
<stat> - message status
<fo> - first octet of the message PDU
<mr> - message reference number
<scts> - arrival time of the message to the SC
<dt> - sending time of the message
<st> - message status as coded in the PDU
Note: The command differs from the +CMGL because at the end of the
listing a <CR><LF> is put before the OK result code.
Note: If parameter is omitted the command returns the list of sms with “REC
UNREAD” status.
AT@CMGL?
Read command has the same effect as Execution command with parameter
omitted
AT@CMGL=?
Test command returns a list of supported <stat>s
Note If
Text
Mode
(+CMGF=1) the Test command output is not included in
parenthesis
AT@CMGL=?
@CMGL: "REC UNREAD","REC READ","STO UNSENT",
"STO SENT","ALL"
Reference GSM
07.05
3.5.5.3.4 Read Message - +CMGR
+CMGR - Read Message
SELINT 0 / 1
AT+CMGR=
<index>
Execution command reports the message with location value <index> from
<memr> message storage (<memr> is the message storage for read and