
Chapter 3 – Using Your Wireless Modem
32
Multi-Tech Systems, Inc. MultiModem GPRS USB Wireless Modem User Guide
3
Delete all READ, SENT, and UNSENT messages.
4
Delete ALL messages.
If you want to delete one message at a time, do not enter a value for
n
.
2.
The modem will respond
OK.
Note:
The
x
represents an index location. The
n
stands for the type of messages to delete.
SMS Examples
Send Example
Send an SMS message to another SMS compatible device
at+cmgf=1
(set to text mode)
OK
at+cpms="SM","SM"
(set memory storage when writing and sending SMS messages)
+CPMS: 0,50,0,50
OK
at+cmgs="7632273726"
(send message to the number specified in quotes)
> TEST message ONE.
(Type message after the > symbol and hit <CTRL + Z> to send the message)
+CMGS: 52
OK
Receive Examples
Receive Example 1: Receive SMS messages in text mode by saving to SIM memory – Notification via +CMTI
unsolicited response code:
at+cmgf=1
(set to text mode)
OK
at+csms=0
(set to Phase 1)
+CSMS: 1,1,1
OK
at+cnmi=2,1,0,0,0
(set to dCMTI indication when SMS is received)
OK
at+cpms="SM","SM"
(set the read and write storage of SMS to SIM)
+CPMS: 0,50,0,50
OK
+CMTI: "SM",1 (indication that message was received and stored to SIM location 1)
at+cmgr=1
(read message stored in location 1)
+CMGR: "REC UNREAD","+17632273726",,"06/03/17,13:55:22+00"