98-08901C68-O 131
AT Commands Reference
Example
AT+MMGL="HEADER ONLY"
+MMGL: 1,"REC READ","+358501234567"
+MMGL: 2,"STO UNSENT","+358501234567"
OK
AT+MMGL=?
+MMGL: ("REC UNREAD","REC READ","STO UNSENT","STO SENT", "ALL","HEADER ONLY")
OK
4.5.1.12 +CMGR, Read Message
This command handles reading of the SM. 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 status in the
storage changes to "Received read". If the reading fails, the final result code +CMS ERROR: <err> is returned.
Set Command
Read Command
The Read command for +CMGR is not defined by ETSI, and therefore is not supported by the g20. The g20 returns an error.
Test Command
The Test command for +CMGR is not defined by ETSI, and therefore is not supported by the g20. The g20 returns an error.
The following table shows the +CMGR parameters.
Command Response/Action
+CMGR=<index> +CMGR:<stat>,<oa/da>[,<scts>] <CR><LF><data>
<CR><LF>
or:
+CMS ERROR: <err>
Table 54. +CMGR Parameters
<Parameter> Description
<index> Index in the SMS memory of the message to be retrieved.