Rainbow Electronics GM862-QUAD-PY User Manual
Page 214

AT Commands Reference Guide
80000ST10025a Rev. 5 - 09/07/08
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 214 of 434
@CMGR - Read Message Improved
SELINT 1
Output format for received messages:
@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)
<da> - Destination address, string type represented in the currently
selected character set (see +CSCS)
<sca> - Service Centre number
<tooa>,<toda >,<tosca> - type of number <oa>,<da>,<sca>
129 - number in national format
145 - number in international format (contains the "+")
<length> - text length
<text> - message text
Note: the command differs from the +CMGR because after the message
<pdu> or <text> a <CR><LF> is put before the OK result code.
Note: in both cases if status of the message is 'received unread', status in
the storage changes to 'received read'.
Note: an error result code is sent on empty record <index>.
AT@CMGR=?
Test command has no effect; the answer is OK
Reference GSM
07.05