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:
10:2bd727a4b329
Parent:
2:8d3ea0dfce39
Child:
36:bb6b293c7495
Child:
39:6e94520a3217
--- a/io/MTSSerialFlowControl.h	Wed Dec 11 20:19:53 2013 +0000
+++ b/io/MTSSerialFlowControl.h	Fri Dec 13 14:53:08 2013 +0000
@@ -7,9 +7,11 @@
 class MTSSerialFlowControl : public MTSBufferedIO
 {
 public:
-    MTSSerialFlowControl(PinName TXD, PinName RXD, PinName RTS, PinName CTS, int txBufSize = 64, int rxBufSize = 64);
+    MTSSerialFlowControl(PinName TXD, PinName RXD, PinName RTS, PinName CTS, int txBufSize = 64, int rxBufSize = 64, char* name = "");
     ~MTSSerialFlowControl();
     
+    void baud(int baudrate);
+    
     void notifyStartSending();
     void notifyStopSending();
 
@@ -20,6 +22,7 @@
     bool clearToSend;
     int highThreshold;
     int lowThreshold;
+    char* if_name;
     
     void startSending();
     void stopSending();