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:
17:2d7c4ea7491b
Parent:
0:563b70517320
Child:
36:bb6b293c7495
Child:
39:6e94520a3217
Child:
41:81d035fb0b6a
--- a/io/MTSBufferedIO.h	Fri Dec 13 23:02:50 2013 +0000
+++ b/io/MTSBufferedIO.h	Mon Dec 16 20:00:20 2013 +0000
@@ -12,8 +12,10 @@
 
     int write(char* data, int length);
     int write(char data);
+    int writeable();
     int read(char* data, int length);
-    int read();
+    int read(char& data);
+    int readable();
 
     template<typename T>
     void attach(T *tptr, void(T::*mptr)(void), int threshold, Vars::RelationalOperator op, Serial::IrqType type);