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:
- 39:6e94520a3217
- Parent:
- 19:38794784e009
- Child:
- 115:b26176f23e89
--- a/tests/test_SMS.h Thu Dec 19 15:56:05 2013 +0000 +++ b/tests/test_SMS.h Thu Dec 19 19:49:58 2013 +0000 @@ -10,7 +10,7 @@ printf("Sending message [%s] to [%s]\r\n", sMsg.c_str(), sPhoneNum.c_str()); code = Cellular::getInstance()->sendSMS(sPhoneNum, sMsg); - if(code != Cellular::OK) { + if(code != Cellular::CELL_OK) { printf("Error during SMS send [%d]\r\n", (int)code); } else { printf("Success!\r\n");