Multi-Tech Systems MTCBA-C-U manual SMS Examples, Send Example Sending an SMS message

Page 25

Chapter 3 – Using Your Wireless Modem

SMS Examples

Send Example: Sending an SMS message

at+cpms="MT","MO" (set the read and write locations for SMS) +CPMS:0,30,0,30

OK

at+cmgs="7632273726" (send SMS to the number listed inbetween the quotes)

TEST message ONE. (type the text message here and end with a <CTRL + Z> to send the message) +CMGS:1

OK

Receive Example 1: Receive an SMS message and stored to modem memory via +CMTI indication:

at+cnmi=2,1,0,0,0 (set the modem to indicate received messages with +CMTI)

OK

at+cpms="MT","MO" (set the read and write locations for SMS) +CPMS:0,30,0,30

OK

+CMTI:"MT",0,0 (indication that a message was received and stored to location 0 of the modem)

at+cmgr=0 (read message stored in location 0)

+CMGR:"REC UNREAD","7632273726","06/03/17,13 :35 :49",0,3,0,0,0,5 TEST1

OK

at+cmgd=0 (delete message stored in location 0)

OK

Receive Example 2: Receive a SMS message and route directly to TE:

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

OK

+CMT:"7632273726","06/03/17,13 :38 :22",129,0,3,0,5 (indication that message was received) TEST2

at+cnma (acknowledge that message was received)

OK

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

25

Image 25
Contents MultiModem Cdma USB S000345G, Revision G Copyright MultiModem Cdma USB User Guide Wireless ModemRevision History Revision Date Description Trademarks and LogosContents Features Product Description SpecificationsProduct Description ModelsApplication Overview Wireless MultiModem used in remote ATM applicationApplication Types Benefits/Features in Applications General Safety SafetyRF Interference Issues Vehicle SafetyPackage Contents Maintenance of Your ModemYour Responsibility Mode Description SpecificationsFunctions Cdma USB Modes Electrical CharacteristersAT Command Information Antenna/RF SpecificationsInterfaces LEDsActivate Your Wireless Account Activation InstallationHook up the Antenna and USB Cable Attach the Modem to a Flat Surface Optional Handset Connection OptionalPage Installing the Modem Driver in Windows XP/2003 Install the Modem DriverPart a for Windows XP/2003 Installing the USB Driver IntroductionClick Continue Anyway Completing the Found New Hardware Wizard screen appears Part C for Windows XP/2003 Installing the Modem INF File Part a for Windows 2000 Installing the USB Driver Installing the Modem Driver in WindowsPage Part B for Windows 2000 Associating PC Port with USB Driver Part C for Windows 2000 Installing the Modem INF File Phone Numbers for the Wireless Modem Using Your Wireless ModemExamples of Useful AT Commands Answering a Circuit-Switched Data CSD Connection Establishing a Circuit-Switched Data CSD ConnectionEstablishing a Voice Call Using Short Message Services SMS Send Example Sending an SMS message SMS ExamplesConnecting to the Cdma Network for Internet Access Internet AccessRequirements Create Your Dial-Up Connection in Windows XP/2003 Disconnecting the ConnectionMobile PhoneTools Troubleshooting Examples Troubleshooting Frequently Asked QuestionsWhy does the modem answer and then do nothing? Frequently Asked QuestionsJust received this modem, what do I need to do? Who are the carriers?Modem will not answer What is the max supported serial baud rate?Modem answers, but does nothing How does faxing work?Reference Information Wireless Modem Reference InformationGeneral Etsi contactMulti-Tech Warranty Statement Appendix a Warranty and RepairsRepair Procedures for U.S. and Canadian Customers Repair Procedures for International Distributors Repair Procedures for International CustomersReplacement Parts Outside U.S.A. and CanadaJuly