DE910-DUAL AT commands reference guide
80392ST10102A Rev.2 – 2012-07-03
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 101 of 261
+CMGR - Read Message
AT+CMGR=
<index>
Execution command reports the message with location value
<index>
from
<memr>
message storage (
<memr>
is the message storage for read and delete SMs
as last settings of cCPMS).
Parameter:
<index>
- message index.
The output depends on the last settings of command
+CMGF
(message format to
be used)
(PDU Mode)
If there is at least one message to be listed the representation format is:
+CMGR:<stat>,"",<length><CR><LF><PDU>
Case of received message from base station :
<PDU>:
<orig_num>,<date><tele_id><priority><enc_type><length><data>
Case of sending message to base station:
<PDU>:
<da><callback><tele_id><priority><enc_type><length><data>
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
(Text Mode)
Output format for received messages
(the information written in
italics
will be
present depending on
+CSDH
last setting)
:
Output format for message delivery confirm:
+CMGR:
<stat>,<orig_num>,<callback>,<date
>[,<tooa>,<tele_id>,<priority>,<enc_type
>,<length>
]<CR><LF><data>
If there is either a
Sent
or an
Unsent
message in location <index> the output
format is:
+CMGR:
<stat>,<da>,<callback
>,[,<toda>,<tele_id>,<priority>,<enc_type>,<length>
]<C
Содержание DE910-DUAL
Страница 1: ...80392ST10102A Rev 2 2012 07 03...