Rainbow Electronics GM862-QUAD-PY User Manual
Page 212

AT Commands Reference Guide
80000ST10025a Rev. 5 - 09/07/08
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 212 of 434
@CMGR - Read Message Improved
SELINT 0
(PDU Mode)
The output has the following format:
@CMGR: <stat>,<length><CR><LF><pdu>
where
<stat> - status of the message
0 - new message
1 - read message
2 - stored message not yet sent
3 - stored message already sent
<length> - length of the PDU in bytes.
<pdu> - message in PDU format according to GSM 3.40.
The status of the message and entire message data unit <pdu> is
returned.
(Text Mode)
Output format for received messages (the information written in italics will
be present depending on +CSDH last setting):
@CMGR: <stat>,<oa>,,<scts> [,<tooa>,<fo>,<pid>,<dcs>,<sca>,
<tosca>,<length>]<CR><LF><text>
Output format for either sent or unsent messages:
@CMGR: <stat>,<da>,[,<toda>,<fo>,<pid>,<dcs>,,
<sca>,<tosca>,<length>]<CR><LF><text>
Output format for message delivery confirm:
@CMGR: <stat>,<fo>,<mr>,,,<scts>,<dt>,<st>
where:
<stat> - status of the message
"REC UNREAD" - new received message unread
"REC READ" - received message read
"STO UNSENT" - message stored not yet sent
"STO SENT" - message stored already sent
<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
<pid> - Protocol Identifier
<dcs> - Data Coding Scheme
<oa> - Originator address, string type represented in the currently selected
character set (see +CSCS)