Specifications

Table Of Contents
Chapter 14 Short Message Service Control Commands
76 Multi-Tech Systems, Inc. CDMA C1 AT Commands Reference Guide
Values: <da> Destination address value in string format.
<length> Length of the text message (in bytes).
<priority> The priority level of the message.
0 Normal (Default)
1 Interactive Not currently supported
2 Urgent
3 Emergency Not currently supported
<privacy> The privacy level of the message.
0 Normal (Default)
1 Restricted
2 Confidential
3 Secret
<reply> The reply options for the message.
0 No acknowledgement requested (Default)
1 Positive user acknowledgement request
2 Delivery acknowledgement request
3 Request both user acknowledgement and delivery acknowledgement
<cbn> The call back number (not included by default).
Read Message +CMGR
Description: This command allows the application to read stored messages. The messages are read from the
memory selected by the +CPMS command. A message read with status “REC UNREAD” will be
updated in memory with the status “REC READ”.
Currently “Sent/Unsent” and “Status Report” messages are not being stored and therefore can
not be read using the +CMGR command.
Command
Syntax: AT+CMGR=<index>
Response
Syntax: +CMGR: <stat> [,<oa>], <scts>, <lang>, <encod>, <priority>[,<cbn>], <length> <CR><LF> <data>
(for SMS-DELIVER only)
Command
Possible Responses
AT+CMGR=1
Note: Read a message (index 1)
+CMGR: “REC UNREAD”,”8585551212”, ”98/10/01,18
:22 :11+00”,1,2,0,”8585550000”,9<CR><LF>
ABCdefGHI
OK
AT+CMGR=1
Note: Read the message again
+CMGR: “REC READ”,”8585551212”,
”98/10/01,18 :22
:11”,1,2,0,”8585550000”,9<CR><LF>
ABCdefGHI
OK
Note: Message is now indicating "read"
AT+CMGR=2
Note: Read at a wrong index
ERROR
Note: Error : invalid index