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 97 of 261
+CMGL - List Messages
Each message to be listed is represented in the format:
+CMGL: <index>,<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:
<index>
- message position in the memory storage list.
<stat>
- status of the message
<length>
- length of the PDU in bytes
<pdu>
- message in PDU format
(Text Mode)
Parameter:
<stat>
"REC UNREAD" - new message
"REC READ" - read message
"STO UNSENT" - stored message not yet sent
"STO SENT" - stored message already sent
"ALL" - all messages.
Each message to be listed is represented in the format (the information written in
italics will be present depending on +CSDH last setting):
If there is at least a
Received
message to be listed the representation format is:
+CMGL:
<index>,<stat>,<orig_num>,<callback>,<date>
[,<tooa>,<tele_id>,<priority>,<e
nc_type>,<length>]
<CR><LF>
<data>
If there is at least a
Sent
or an
Unsent
message to be listed the representation
format is:
+CMGL:
<index>,<stat>,<da>,<callback>
[,,<toda>,<tele_id>,<priority>,<enc_type>,<leng
th>]
<CR><LF><data>
Where
<orig_num>
- Origination number.
<callback>
- Callback number.
<date>
- Received date in form as "YYYYMMDDHHMMSS".
<tooa>
- Type of <
orig_num
>.
<toda>
- Type of <
da
>.
<tele_id>
- Teleservice ID.
4097 - page
4098 - SMS message
Содержание DE910-DUAL
Страница 1: ...80392ST10102A Rev 2 2012 07 03...