![FALCOM A2 Series User Manual And Command Reference Download Page 27](http://html1.mh-extra.com/html/falcom/a2-series/a2-series_user-manual-and-command-reference_3249828027.webp)
FALCOM A2
A2MAN.DOC
08 MARCH 1999
This confidential document is the property of Funkanlagen Leipoldt OHG and may not be copied or circulated without permission.
Page 26
Defined values:
<stat>
integer type (default 0) indicates the status of
message in memory:
0
received unread message (i.e. new message)
1
received read message
2
stored unsent message
3
stored sent message
4
all messages
<index>
see text mode
<length>
integer type value the length of the actual TP data
unit in octets (i.e. the RP layer SMSC address
octets are not counted in the length);
<pdu>
GSM 04.11 SC address followed by GSM 03.40
TPDU in hexadecimal format
Remarks:
none
Source:
GSM 07.05/3.4.2,4.1
Implementation:
yes
1.8.3
AT+CMGR
Command is used to read one messages from the SIM card storage.
•
Text mode:
Command
Possible responses
+CMGR=<index>
if SMS-DELIVER:
+CMGR: <stat>,<oa>,““,<scts>[,<tooa>,
<fo>,<pid>,<dcs>,<sca>,<tosca>,<length>]
<CR><LF><data>
if SMS-SUBMIT:
+CMGR: <stat>,<da>,““[,<toda>,<fo>,<pid>
,<dcs>,[<vp>],<sca>,<tosca>,<length>]
<CR><LF><data>
+CMS ERROR:
<err>
+CMGR=?
OK
Defined values:
<stat>
string type (default "REC UNREAD");indicates the
status of message in memory:
"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