Multi Tech Equipment GPRS USB SMS Examples, Send an SMS message to another SMS compatible device

Page 24

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 USB Wireless Modem User Guide

24

Image 24
Contents MultiModem Gprs USB Revision History Date Description Trademarks and LogosWorld Headquarters Technical Support Country By Email By PhoneContents Product Description Specifications FeaturesProduct Description ModelsBenefits/Features in Applications Application OverviewApplication Types Safety Package Contents Specifications Antenna/RF SpecificationsElectrical Characteristics Current RequirementsAT Command Reference Guides InterfacesLEDs Activation Installation Activate Your Wireless AccountInsert the SIM Card into the Holder Connect the Antenna and USB Cable Handset Connection OptionalAttach the Modem to a Flat Surface Optional Install the Modem Driver Part a for Windows XP/2003 Installing the USB DriverIntroduction Click on Install from a list or specific location Advanced Click Continue AnywayCompleting the Found New Hardware Wizard screen appears Part C for Windows XP/2003 Installing the Modem INF File Installing the Modem Driver in Windows Part a for Windows 2000 Installing the USB DriverPage Part B for Windows 2000 Associating PC Port with USB Driver Part C for Windows 2000 Installing the Modem INF File Using Your Wireless Modem Phone Number 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 AccessRequirements Modem Options windowDisconnecting the Connection Create Your Dial-Up Connection in Windows XP/2003Mobile PhoneTools Troubleshooting Frequently Asked Questions Troubleshooting ExamplesSolutions for ‘no connection through serial link’ situation Solutions for no carrier messageFrequently Asked Questions How do I send an SMS message to an email account? Wireless Modem Reference Information Reference InformationEtsi contact Appendix a Warranty and Repairs Multi-Tech Warranty StatementRepair Procedures for U.S. and Canadian Customers Repair Procedures for International Customers Repair Procedures for International DistributorsReplacement Parts Outside U.S.A. and CanadaJuly