Nokia 9356900 issue 1 Telephone User Manual


 
67
List of AT Commands for Nokia 22
Copyright © Nokia Mobile Phones 2001. All rights reserved.
<dt> GSM 03.40 TP-Discharge-Time in time-string format: “yy/MM/dd,hh:mm:ss±zz”
<st> GSM 03.40 TP-Status in integer format
<ct> GSM 03.40 TP-Command-Type in integer format
<pdu> GSM 04.11 SC address followed by GSM 03.40 TPDU in hexadecimal format
10.12 +CMGR Read message
Command Response +cms
error
Execute
+CMGR=
<index>
text mode (+CMGF=1), SMS-DELIVER:
+CMGR: <stat>,<oa>,<scts>[,<tooa>,<fo>,<pid>,<dcs>,
<sca>,<tosca>,<length>]<CR><LF><data>
text mode (+CMGF=1), SMS-SUBMIT:
+CMGR: <stat>,<da>[,<toda>,<fo>,<pid>,<dcs>,[<vp>],
<sca>,<tosca>,<length>]<CR><LF><data>
text mode (+CMGF=1), SMS-STATUS-REPORT:
+CMGR: <stat>,<fo>,<mr>,[<ra>],[<tora>],<scts>,<dt>,<st>
text mode (+CMGF=1), SMS-COMMAND:
+CMGR: <stat>,<fo>,<ct>[,<pid>,[<mn>],[<da>],[<toda>],
<length><CR><LF><cdata>]
PDU mode (+CMGF=0):
+CMGR: <stat>,<length><CR><LF><pdu>
x
Test
+CMGR=?
Text mode:
The +CMGR command returns a message with the location value <index> from the message
storage. If the status of the message is 'received unread', the status in the storage changes to
'received read'.
PDU mode:
The +CMGR command returns a message with the location value <index> from the preferred
message storage to the TE. The status of the message and the entire message data unit <pdu> is
returned. If the status of the message is 'received unread', the status in the storage changes to
'received read'.
Defined values
<index> integer type; value in the range of the location numbers
<stat> integer type in the PDU mode (default 0), or string type in the text mode;
indicates the status of the message in the memory:
0 "REC UNREAD" received unread message (i.e. new message)
1 "REC READ" received read message
2 "STO UNSENT" stored unsent message (only applicable to SMs)
3 "STO SENT" stored sent message (only applicable to SMs)
4 "ALL" all messages (only applicable to the +CMGL command)