Справочник Пользователя для Motorola G24

Скачать
Страница из 642
Chapter 3:  AT Commands Reference
 December  31, 2007
AT Commands Reference Manual
3-125
+MMAR, Motorola Mark As Read 
This command handles changing the <stat> attribute of an SM in the G24 memory location 
<index>, preferred message storage <mem1>, from "REC UNREAD" to "REC READ". 
(<mem1> is selected using the +CPMS command.) If the status change fails, +CMS ERROR: 
<err> is returned.
The following table shows the +MMAR parameters.
Example
AT+MMGR=1
+MMGR: "REC UNREAD","+972544565034",,"04/11/04,09:48:36+08"
message text
OK
AT+MMAR=1
OK
AT+MMGR=1
+MMGR: "REC READ","+972544565034",,"04/11/04,09:48:36+08"
message text
OK
+CMSS, Send Message From Storage 
This command sends a pre-stored message, written previously using the +CMGW command. The 
<da>, <toda> parameters are optional. If a DA is given, the message is sent to that address. 
Otherwise the message is sent to the DA it was stored with (if any was entered). If no DA is 
found, an error occurs.
Command 
Type
Syntax
Response/Action
Remarks
Set
+MMAR=<index>
OK
or:
+CMS ERROR: <err>
Read
The Read command for +MMAR is 
not defined, and therefore is not 
supported by the G24. The G24 returns 
an error.
Test
The Test command for +MMAR is not 
defined, and therefore is not supported 
by the G24. The G24 returns an error.
Table 3-72: +MMAR Parameters
<Parameter>
Description
<index>
Index of the message to be marked as read, in 
the SMS memory.