Multi-Tech Systems CDMA Wireless Modem User Manual
Page 60
Chapter 8 – Short Messages Commands
Multi-Tech Systems, Inc. CDMA Wireless AT Commands - PN S000294C
60
Syntax:
Command syntax: AT+CMGR=
Response syntax: +CMGR:
+CMGR:
(for SMS-SUBMIT only)
+CMGR:
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,”8585550000”,9
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
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
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
Send an SMS previously stored
+CMSS: 160
OK
+CDSI:
“SR”,1
New SMS Status Report stored in “SR” memory at
index 1
AT+CMGR=1
Read the SMS Status Report
+CMGR: “READ”,160,
“8585551212”,129,”01/05/31,15:15:09”,
“01/05/31,15:15:09”,0
OK