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: cellular/Cellular.cpp
- Revision:
- 38:4739e039421a
- Parent:
- 37:61373f492403
- Child:
- 40:14342c4de476
--- a/cellular/Cellular.cpp Thu Dec 19 16:50:10 2013 +0000 +++ b/cellular/Cellular.cpp Thu Dec 19 16:54:09 2013 +0000 @@ -721,7 +721,7 @@ wait(.1); timer = timer + 100; previous = available; - available = io->rxAvailable(); + available = io->readable(); int size = io->read(tmp,255); //1 less than allocated if(size > 0) {