A library for talking to Multi-Tech's Cellular SocketModem Devices.
Dependents: M2X_dev axeda_wrapper_dev MTS_M2x_Example1 MTS_Cellular_Connect_Example ... more
Diff: tests/test_SMS.h
- Revision:
- 124:6d964b4343c8
- Parent:
- 115:b26176f23e89
- Child:
- 141:571e0ef6c8dc
--- a/tests/test_SMS.h Tue Dec 31 23:41:59 2013 +0000 +++ b/tests/test_SMS.h Thu Jan 02 18:11:25 2014 +0000 @@ -7,7 +7,7 @@ void sendSms() { Code code; std::string sMsg("Hello from Multi-Tech MBED!"); - std::string sPhoneNum(""); // insert your phone number prepended with a 1, if you number is 222-867-5309 you'd put 12228675309 + std::string sPhoneNum( /* your 10-digit phone number prepended with a 1, e.g. 12228675309 */); printf("Sending message [%s] to [%s]\r\n", sMsg.c_str(), sPhoneNum.c_str()); code = Cellular::getInstance()->sendSMS(sPhoneNum, sMsg);