Cmgr, +mmgr, read message, Cmgr, +mmgr, read message -94, Ee description in – PIONEERPOS AT Commands G24-LC User Manual

Page 158: Cmgr

Advertising
background image

SMS

3-94

G24-L AT Commands Reference Manual

April 15, 2008

+CMGR, +MMGR, Read Message

These commands handle the reading of SMs. The command displays the message in location
<index> of the preferred message storage <mem1> (selected using the +CPMS command). If the
status of the message is "RECEIVED UNREAD", the +CMGR command changes the status to
"RECEIVED READ". The +MMGR command does not change the message status.

Command

Type

Syntax

Response/Action

Remarks

Set

+CMGR=<index>

or

+MMGR=<index

>

If text mode (+CMGF=1) command execution is
successful and SMS-DELIVER:
+CMGR:

<stat>,<oa>,[<alpha>],<scts>

[,<tooa>,<fo>,<pid>,<dcs>,<sca>,<tosca>,<lengt
h>]<CR><LF><data>

If text mode (+CMGF=1) command execution is
successful and SMS-SUBMIT:
+CMGR:

<stat>,<da>,[<alpha>]

[,<toda>,<fo>,<pid>,<dcs>,[<vp>],<sca>,<tosca>
,<length>]<CR><LF><data>

If text mode (+CMGF=1) command execution is
successful and SMS-COMMAND:
+CMGR:

<stat>,<fo>,<ct>

[,<pid>,[<mn>],[<da>],[<toda>],<length><CR><
LF><cdata>]

If text mode (+CMGF=1) command execution is
successful and CBM storage:
+CMGR:

<stat>,<sn>,<mid>,<dcs>,<page>,<pages><CR>

<LF><data>

If text mode (+CMGF=1) command execution is
successful and SMS-STATUS-REPORT:
+CMGR:

<stat>,<fo>,<mr>,[<ra>],[<tora>],<scts>,<dt>,<s

t>

If PDU mode (+CMGF=0) and command
execution is successful:
+CMGR:

<stat>,[<alpha>],<length><CR><LF><pdu>

otherwise:

+CMS ERROR: <err>

The Set command
reads the SM
located at
<index> in the
G24-L message
storage and
displays it.

Advertising
This manual is related to the following products: