SMS

+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

Syntax

Response/Action

Remarks

Type

 

 

 

 

 

 

 

 

 

 

 

Set

+CMGR=<index>

If text mode (+CMGF=1) command execution is

The Set command

 

or

successful and SMS-DELIVER:

reads the SM

 

+MMGR=<index

+CMGR:

located at

 

>

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

<index> in the

 

G24-L message

 

 

[,<tooa>,<fo>,<pid>,<dcs>,<sca>,<tosca>,<lengt

 

 

storage and

 

 

h>]<CR><LF><data>

displays it.

 

 

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>

 

 

 

 

 

 

 

 

 

3-94

G24-L AT Commands Reference Manual

April 15, 2008

Page 158
Image 158
PIONEERPOS G24-LC manual +CMGR, +MMGR, Read Message, +Cmgr