Multi-Tech Systems MTCBA-G-F4 Using Short Message Services SMS, Type AT+CMGD=x,n press Enter

Models: MTCBA-G-F4

1 30
Download 30 pages 43.52 Kb
Page 17
Image 17
Using Short Message Services (SMS)
View a List of Stored Messages. Type AT+CMGL=x <press Enter> For x, substitute one of the following:

Chapter 3 – Using Your Wireless Modem

Using Short Message Services (SMS)

Send a Short Message to a Specified Number.

Type AT+CMGS="8585551212" <press Enter>

Then type your message: Please call me soon. <press ctrl Z>

The modem may respond with +CMGS:<mr> OK

Write a Message to Memory.

You can store a message to send it at a later date. Type AT+CMGW="8585551212" <press Enter> Type the message. <press ctrl Z>

The modem may respond with +CMGW: 4 OK (The message is stored in the index as message 4.)

Send a Message from Storage.

Type AT+CMSS=x,"8585551212" <press Enter>

The modem may respond with +CMSS: 1 OK (The transmission is successful. One SMS message is sent.)

Note: The x represents an index location.

"REC UNREAD" Shows received unread messages. "REC READ" Shows received read messages. "STO UNSENT" Shows stored unsent messages. "STO SENT" Shows stored sent messages.

"ALL" Shows messages.

The modem will respond AT+CMGL: 1,"REC UNREAD","8585551212",1...

The modem will continue until all UNREAD messages, numbers, and index number are listed.

Read a Stored Message.

Type AT+CMGR=x <press Enter>

The modem may respond with +CMGR: "REC READ", "8585551212", ......

Note: The x represents an index location.

Delete a Stored Message.

Type AT+CMGD=x,n <press Enter>

If you want to delete one message at a time, do not enter a value for n.

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.

The modem will respond OK.

Note: The x represents an index location. The n stands for the type of messages to delete.

Multi-Tech Systems, Inc. MultiModem GPRS Wireless Modem User Guide

17

Page 17
Image 17
Multi-Tech Systems MTCBA-G-F4 manual Using Short Message Services SMS, Type AT+CMGS=8585551212 press Enter