Cmgr, +Mmgr, Read Message - Fibocom G510 User Manual

G5/g6-family at commands
Hide thumbs Also See for G510:
Table of Contents

Advertisement

OK
AT+CMGL="STO SENT"
+CMGL: 142,"STO SENT","054565034",,,81,<message length>
message text
OK
AT+CMGS=18 //send to myself
> 079179521201009511000c917952446505430004AA0441424344
+CMGS: 68
OK
AT+CPMS="sm" // change to SIM to read the incoming messages
+CPMS: 2,20,11,61,2,20
OK

7.1.12+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 difference between +CMGR and +MMGR is that +MMGR doesn't change <stat>value.
Command
Syntax
Set
+CMGR=<
index>
+MMGR=<
index>
G5/G6-Family AT Commands User Manual
Response/Action
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>]<C
R><LF><data>
If text mode (+CMGF=1) command
execution is successful and
SMS-COMMAND:
Remarks
The Set command
reads the SM
located at <index> in
the Module message
storage and displays
it
Page 102 of 243

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

G510sG520G610-a20 seriesG620-a20 series

Table of Contents