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

Page 20

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

20

Image 20
Contents MultiModem Cdma MultiModem Cdma User Guide Wireless Modem S000303J, Revision J CopyrightRevision History Revision Date Description Trademarks and LogosContents Product Description Specifications FeaturesProduct Description ModelsApplication Types Wireless MultiModem used in remote ATM applicationApplication Overview Benefits/Features in Applications Safety General SafetyRF Interference Issues Safety Instructions for Hazardous LocationsYour Responsibility Maintenance of Your ModemPackage Contents Specifications Electrical CharacteristicsMode Description Functions Cdma ModesLEDs Antenna/RF SpecificationsInterfaces Designation RS232 15-Pin Connector PinoutAT Command Information Hook up the Antenna, Serial Cable, and Power Activation InstallationActivate Your Wireless Account Serial Cable Power Optional Attach the Modem to a Flat Surface Screw Separation = 125 mm or 4 1516 inchesInstall the Modem Driver Verifying That Your Modem Has Been Installed SuccessfullyIntroduction RequirementsExamples of Useful AT Commands Using Your Wireless ModemPhone Numbers for the Wireless Modem Establishing a Voice Call Establishing a Circuit-Switched Data CSD ConnectionAnswering a Circuit-Switched Data CSD Connection Using Short Message Services SMS SMS Examples Send Example Sending an SMS messageInternet Access Connecting to the Cdma Network for Internet AccessDisconnecting the Connection Create Your Dial-Up Connection in Windows XP/2003Mobile PhoneTools Troubleshooting Frequently Asked Questions Troubleshooting ExamplesFrequently Asked Questions Why does the modem answer and then do nothing?Just received this modem, what do I need to do? Who are the carriers?What is the max supported serial baud rate? Modem will not answerModem answers, but does nothing How does faxing work?Wireless Modem Reference Information Data Cable Diagram No VoiceReference Information GeneralReference Information Appendix a Warranty and Repairs Multi-Tech Warranty StatementRepair Procedures for U.S. and Canadian Customers Repair Procedures for International CustomersRepair Procedures for International Distributors Replacement PartsJuly