Cmgl List Messages - Nokia 6090 Command Manual

At command set
Hide thumbs Also See for 6090:
Table of Contents

Advertisement

+CMGL List Messages

Nokia 6090 AT Command Set
This command returns messages with a status value from a preferred message
storage selected with the AT+CPMS command (see page 41). <alpha> and CBM
memory not supported. (GSM 07.05) Only<stat>=0 and 4 are applicable. (GSM
07.05)
Syntax:
AT+CMGL[=<stat>]
Default option
AT+CMGL=?
<stat> for +CMGF=0:
0
4
<stat> for +CMGF=1:
"REC UNREAD"
"ALL"
Example:
AT+CMGL
List all messages on the SIM in the selected mode (change with +CMGF)
Response:
+CMGL: 1,"STO UNSENT","+499501231234",,
abcdefg
+CMGL: 2,"STO UNSENT","+499501231234",,
abcdefghi
+CMGL: 3,"STO UNSENT","+499501231234",,
abcdefghi
OK
Responses:
text mode (+CMGF=1), SMS-DELIVER
or SMS-SUBMIT:
+CMGL:
<index>,<stat>,<oa/da>,[<alpha>],[<scts>]
[,<tooa/toda>,<length>] [<CR><LF>
+CMGL:
<index>,<stat>,<oa/da>,[<alpha>],[<scts>]
[,<tooa/toda>,<length>][...]]
text mode (+CMGF=1), SMS-STATUS-
REPORT:
+CMGL:
<index>,<stat>,<fo>,<mr>,[<ra>],[<tora>],
<scts>,<dt>,<st>[<CR><LF>
+CMGL:
<index>,<stat>,<fo>,<mr>,[<ra>],[<tora>],
<scts>,<dt>,<st>[...]]
text mode (+CMGF=1), SMS-
COMMAND:
+CMGL:
<index>,<stat>,<fo>,<ct>[<CR><LF>
+CMGL: <index>,<stat>,<fo>,<ct>[...]]
PDU mode (+CMGF=0):
+CMGL:
<index>,<stat>,[<alpha>],<length><CR>
<LF><pdu>[<CR><LF>
+CMGL:<index>,<stat>,[<alpha>],<length
> <CR><LF><pdu>[...]].
"REC UNREAD" for +CMGF=1
0 for +CMGF=0
Show supported values.
Response in text mode (+CMGF=1):
+CMGL: ("REC UNREAD","ALL")
Response in PDU mode (+CMGF=0):
+CMGL: (0,4)
received unread
all
received unread
all
29

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents