Chapter 3 – Using Your Wireless Modem
Multi-Tech Systems, Inc. MultiModem GPRS Wireless Modem User Guide
21
3.
For
n
, substitute one of the following:
●
0
Delete message at location <include the index number>
●
1
Delete all READ messages.
●
2
Delete all READ and SENT messages.
●
3
Delete all READ, SENT, and UNSENT messages.
●
4
Delete ALL messages.
4.
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"