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:
86:186bbf974c7c
Parent:
83:9813f9b8ee68
Child:
101:27bb34e23304
--- a/io/MTSSerialFlowControl.h	Fri Dec 27 15:55:35 2013 +0000
+++ b/io/MTSSerialFlowControl.h	Fri Dec 27 16:40:23 2013 +0000
@@ -34,7 +34,7 @@
     * default is 64 bytes.
     * @param name an optional name for the serial port. The default is blank.
     */
-    MTSSerialFlowControl(PinName TXD, PinName RXD, PinName RTS, PinName CTS, int txBufSize = 64, int rxBufSize = 64, char* name = "");
+    MTSSerialFlowControl(PinName TXD, PinName RXD, PinName RTS, PinName CTS, int txBufSize = 64, int rxBufSize = 64);
 
     /** Destructs an MTSSerialFlowControl object and frees all related resources,
     * including internal buffers.
@@ -46,8 +46,8 @@
     void notifyStopSending(); // Used to set cts stop signal
     
     //This device acts as a DTE
-    DigitalOut* rts; // Used to tell DCE to send or not send data
-    DigitalIn* cts; // Used to check if DCE is ready for data
+    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
     int lowThreshold; // Low water mark for setting cts to start