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:
101:27bb34e23304
Parent:
86:186bbf974c7c
Child:
141:571e0ef6c8dc
--- a/io/MTSSerialFlowControl.h	Mon Dec 30 19:00:56 2013 +0000
+++ b/io/MTSSerialFlowControl.h	Mon Dec 30 23:26:31 2013 +0000
@@ -40,12 +40,17 @@
     * including internal buffers.
     */
     ~MTSSerialFlowControl();
+    
+    /** This method clears all the data from the internal Rx or read buffer.
+    */
+    virtual void rxClear();
 
 private:
     void notifyStartSending(); // Used to set cts start signal
     void notifyStopSending(); // Used to set cts stop signal
     
     //This device acts as a DTE
+    bool rxReadyFlag;   //Tracks state change for rts signaling
     DigitalOut rts; // Used to tell DCE to send or not send data
     DigitalIn cts; // Used to check if DCE is ready for data
     int highThreshold; // High water mark for setting cts to stop