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

Revision:
36:bb6b293c7495
Parent:
33:e04aa7c013c9
Child:
37:61373f492403
--- a/cellular/Cellular.cpp	Wed Dec 18 23:05:31 2013 +0000
+++ b/cellular/Cellular.cpp	Thu Dec 19 16:47:26 2013 +0000
@@ -640,7 +640,7 @@
     io->txClear();
     std::string result;
     int status = io->write(cmd, size);
-    int available = io->rxAvailable();
+    int available = io->readable();
     int previous = -1;
     int timer = 0;
     char tmp[256];