Read A Message +Cmgr; Command Syntax; Description; Defined Values - Huawei EM770W At Command Interface Specification

Umts m2m
Hide thumbs Also See for EM770W:
Table of Contents

Advertisement

"STO UNSENT"
"STO SENT"
"ALL"

5.16 Read a message +CMGR

5.16.1 Command Syntax

Command
+CMGR=<index>
+CMGR=?

5.16.2 Description

The EXECUTION command returns the messages whose storage position is "index"
from <mem1>. If the message state is "Unread message that has been received", the
state of the message in the storage will be converted to "Read message that has been
received" after the command is executed successfully.
The TEST command returns OK.

5.16.3 Defined Values

<index>: Integer value, which indicates the position in the storage.
<stat> Message type:
0
1
2
3
<reserved>: Reserved.
<length>: Integer value, which indicates the number of bytes of PDU data.
<pdu>: Protocol data unit. Its format is the same as defined in section "Message list
command".

5.17 Message bearer domain command +CGSMS

Issue 18 (2009-06-22)
stored and unsent SMS
stored and sent SMS
all SMS
Possible response(s)
In case of pdu mode and successful execution of command:
<CR><LF>+CMGR:
<stat>,[<reserved>],<length><CR><LF><pdu><CR><LF><C
R><LF>OK<CR><LF>
or:
<CR><LF>+CMS ERROR: <err><CR><LF>
<CR><LF>OK<CR><LF>
Unread message that has been received
Read message that has been received
Unsent message that has been stored
Sent message that has been stored
Commercial in Confidence
HUAWEI UMTS M2M Module V100R001
AT Command Interface Specification
Page 85 of 169

Advertisement

Table of Contents
loading

Table of Contents