Specifications
Chapter 22 – Verizon® Specific AT Commands
Multi-Tech Systems, Inc. CDMA AT Commands Reference Guide (PN S000294K) 178
<reply> Message reply option:
0 No Acknowledge
1 Delivery Acknowledge
<cbn> Call Back Number
<length> Length of the text message (in bytes).
<data> Message text
Syntax: Command syntax:
AT+CMGR=<index>
Response syntax: +CMGR :<stat> [,<oa>], <scts>, <lang>, <encod>, <priority>, <privacy>, <reply>
[,<cbn>], <length> <CR><LF> <data> (for SMS-DELIVER only)
+CMGR: <stat> [,<da>], <dt>, <lang>, <encod>, <priority>, <privacy>, <reply>, <cbn>],
<length> <CR><LF> <data> (for SMS-SUBMIT only)
+CMGR: <stat>,<mr>,<scts>,<dt>,<st> (for SMS-STATUS-REPORT only)
Command Possible Responses
+CMTI: “MT”,1
Note: New message received
AT+CMGR=1
Note: Read the message
+CMGR: “REC UNREAD”,”8585551212”, ”98/10/01,18 :22
:11+00”,1,2,0,0,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,0,0,”8585550000”,9<CR><LF>
ABCdefGHI
OK
Note: Message is read now
AT+CMGR=2
Note: Read at a wrong index
+CMS ERROR: 321
Note: Error : invalid index
AT+CPMS=”SR”;+CNMI=,,,2
Note: Reset to text mode, set read memory
to “SR”, and allow storage of further SMS
Status Report into “SR” memory
+CPMS:0,10,0,10
OK
AT+CMSS=3
Note: Send an SMS previously stored
+CMSS: 160
OK
+CDSI: “SR”,1
Note: New SMS Status Report stored in “SR” memory at index
1
AT+CMGR=1
Note: Read the SMS Status Report
+CMGR: “READ”,160, “8585551212”,129,”01/05/31,15:15:09”,
“01/05/31,15:15:09”,0
OK
List Message +CMGL
Description: This command allows the application to read stored messages, by indicating the type of the message to
read. The messages are read from the memory selected by the +CPMS command.
Values: <index> Place of storage in memory.
<stat> Possible values, the status of messages in memory, are as follows:
Possible Values Status of Messages in Memory
“UREAD” received unread messages
“READ” received read messages
“USENT” stored unsent messages
“SENT” stored sent messages
“ALL” all messages
Note: For SMS Status Reports, only “ALL” and “READ” values of the <stat> parameter will list
messages; other values will only return OK.
<oa/da> Origination/destination address value in string format. <od/da> will be displayed only if the
message <privacy> value is 0 (Normal).
<fo> First Octet, coded like SMS-SUBMIT first octet in document [4], default value is 17 for SMS-
SUBMIT
<mr> Message Reference
<dt> Discharge Time in string format: “yy/MM/dd,hh :mm :ss±zz” (Year [00-99], Month [01-12], Day
[01-31], Hour, Minute, Second and Time Zone [quarters of an hour] )
<st> Status of a SMS-STATUS-REPORT
<lang> Language
<encod> Encoding
<length> Length of the text message (in bytes).
<data> Message text