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 and index location.
View a List of Stored Messages. Type AT+CMGL=x <press Enter> For x, substitute one of the following:
"UREAD" Show all unread messages. "READ" Show all read messages. "USENT" Show all unsent messages. "SENT" Show all sent messages. "ALL" Show all d 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 1 stands for the number of the location to be read. The total number of locations depends on the amount of memory in your modem.
Note: The x represents and index location.
Delete a Stored Message.
Type AT+CMGD=x,n <press Enter>
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 and index location.
19 |