Multi-Tech Systems MTCBA-G-F4 SMS Examples, Send an SMS message to another SMS compatible device

Page 18

Chapter 3 – Using Your Wireless Modem

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 display +CMTI 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" TEST1

OK

at+cmgd=1 (delete message that is stored in location 1)

OK

Receive Example 2: Receive SMS message in text mode by directly routing the received message to the TE through the serial port using Phase 2:

at+cmgf=1 (set to text mode)

OK

at+csms=0 (set to Phase 2) +CSMS: 1,1,1

OK

at+cnmi=2,2,0,0,0 (set to receive SMS and route directly to TE)

OK

+CMT: "+17632273726",,"06/03/17,13:59:18+00" (message received and directly routed to TE) TEST2

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

18

Image 18
Contents MultiModem Gprs Revision History Date Description 10/03/07 MultiModem Gprs User Guide Wireless ModemS000443A, Revision a Copyright Trademarks and LogosContents Product Description Product Description SpecificationsFeatures Other Product CodesRF Interference Issues SafetyGeneral Safety Installation Instructions and Hazardous Locations WarningsPackage Contents General Specifications Electrical SpecificationsFunctions GSM/GPRS Modes RF Specifications Antenna SpecificationsInterfaces RS232 15-Pin Connector Pinout AT Command InformationDesignation Activate Your Wireless Account Activation InstallationActivate Your Wireless Account Phone Numbers for the Wireless ModemHook up the Antenna, Serial Cable, and Power AntennaPower Optional Attach the Modem to a Flat Surface Introduction Install the Modem DriverVerifying That Your Modem Has Been Installed Successfully RequirementsUsing Your Wireless Modem Phone Numbers for the Wireless ModemExamples of Useful AT Commands Establishing a Circuit-Switched Data CSD Connection Answering a Circuit-Switched Data CSD ConnectionEstablishing a Voice Call Using Short Message Services SMS SMS Examples Send an SMS message to another SMS compatible deviceUsing Your Wireless Modem Internet Access Connecting to the Gprs Network for Internet AccessDisconnecting the Connection Create Your Dial-Up Connection in Windows XP/2003Solutions for ‘no connection through serial link’ situation Troubleshooting Frequently Asked QuestionsTroubleshooting Examples Solutions for no carrier messageFrequently Asked Questions How do I send an SMS message to an email account? Wireless Modem Reference Information Data Cable Diagram No VoiceReference Information Reference Information Repair Procedures for U.S. and Canadian Customers Appendix a Warranty and RepairsMulti-Tech Warranty Statement Repair Procedures for International CustomersRepair Procedures for International Distributors Replacement PartsJuly Appendix C C-ROHS HT/TS Substance Concentration