EasyManua.ls Logo

Fibocom G510 - 7.1.12 +CMGR, +MMGR, Read Message

Fibocom G510
243 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
G5/G6-Family AT Commands User Manual Page
102
of
243
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
Response/Action
Remarks
Set
+CMGR=<
index>
+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>]<C
R><LF><data>
If text mode (+CMGF=1) command
execution is successful and
SMS-COMMAND:
The Set command
reads the SM
located at <index> in
the Module message
storage and displays
it

Table of Contents

Other manuals for Fibocom G510