![SimCom SIM5350 Скачать руководство пользователя страница 96](http://html1.mh-extra.com/html/simcom/sim5350/sim5350_command-set_1274792096.webp)
SIM5350 AT Command Set
+CMGL:
<index>
,
<stat>
,
<fo>
,
<ct>
[...]]
OK
If text mode (
=1), command successful and CBM
storage:
+CMGL:
<index>
,
<stat>
,
<sn>
,
<mid>
,
<page>
,
<pages>
<CR><LF>
<data>
[<CR><LF>
+CMGL:
<index>
,
<stat>
,
<sn>
,
<mid>
,
<page>
,
<pages>
<CR><LF>
<data>
[...]]
OK
If PDU mode (
AT+CMGF
=0) and Command successful:
+CMGL:
<index>
,
<stat>
,[
<alpha>
],
<length>
<CR><LF>
<pdu>
[<C
R><LF>
+CMGL:
<index>
,
<stat>
,[
<alpha>
],
<length>
<CR><LF>
<pdu>
[…]]
OK
+CMS ERROR:
<err>
Defined values
<stat>
1. Text Mode:
"REC UNREAD" received unread message (i.e. new message)
"REC READ"
received read message
"STO UNSENT" stored unsent message
"STO SENT"
stored sent message
"ALL"
all
messages
2. PDU Mode:
0 – received unread message (i.e. new message)
1 – received read message
2 – stored unsent message
3 – stored sent message
4 – all messages
<index>
Integer type; value in the range of location numbers supported by the associated memory and start
with zero.
<oa>
Originating-Address, Address-Value field in string format; BCD numbers (or GSM 7 bit default
alphabet characters) are converted to characters of the currently selected TE character set, type of
address given by
<tooa>
.
<da>
Destination-Address, Address-Value field in string format; BCD numbers (or GSM 7 bit default
alphabet characters) are converted to characters of the currently selected TE character set, type of
SIM5350_ATC_V1.02
6/9/2014
95
Содержание SIM5350
Страница 1: ...AT Command Set SIM5350 _ATC_V1 02...