Multi-Tech Systems CDMA Wireless Modem User Manual

Page 179

Advertising
background image

Chapter 22 - Verizon® Specific AT Commands

Multi-Tech Systems, Inc. CDMA Wireless AT Commands - PN S000294C

179

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

Advertising