Text mode – Sony Ericsson GM47 User Manual
Page 276

GM47/GM48 INTEGRATOR’S MANUAL
276
LZT 123 7263 R1C
Text Mode
Returns messages with status value <stat> from message storage
<mem1> to the TE. About text mode parameters in Italics, refer
command Show Text Mode Parameters (+CSDH). If the status, of the
message is ‘received unread’, status in the storage changes to ‘received
read’. If listing fails final result code +CMS ERROR: <err> is returned.
Description
Command
Possible Responses
List message
AT+CMGL
=[<stat>]
• If text mode (+CMGF=1), command
successful and SMS-SUBMITs and SMS-
DELIVERs:
+CMGL:
<index1>,<stat>,<oa/da>,[<alpha>],
[<scts>][,<tooa/toda>,<length>]
<CR><LF><data>[<CR><LF>
+CMGL:
<index2>,<stat>,<oa/da>,[<alpha>],
[<scts>][,<tooa/toda>,<length>]
<CR><LF><data>[…]]
• If text mode (+CMGF=1), command
successful and SMS-STATUS-REPORT:
+CMGL:
<index1>,<stat>,<fo>,<mr>, [<ra>],
[<tora>],<scts>,<dt>,<st> [<CR><LF>
+CMGL:
<index2>,<stat>,<fo>,<mr>,[<ra>],
[<tora>],<scts>,<dt>,<st>[…]]
• If text mode (+CMGF=1), command
successful and SMS-COMMANDs:
+CMGL:
<index>,<stat>,<fo>,<ct> [<CR><LF>
+CMGL:
<index>,<stat>,<fo>,<ct>[…]]
• If text mode (+CMGF=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>[…]]
• Otherwise:
+CMS ERROR: <err>
Show the
current
setting
AT+CMGL?
• +CMGL:<stat>
• +CMS ERROR: <err>
Show if the
command is
supported
AT+CMGL=?
• +CMGL: (list of supported <stat>s)
• +CMS ERROR: <err>
<index>
Description
Integer type
Value in the range of location numbers supported by
<mem1>