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:
0:563b70517320
Child:
36:bb6b293c7495
Child:
39:6e94520a3217
--- a/io/MTSSerial.h	Wed Dec 11 20:19:53 2013 +0000
+++ b/io/MTSSerial.h	Fri Dec 13 14:53:08 2013 +0000
@@ -7,7 +7,7 @@
 class MTSSerial : public MTSBufferedIO
 {
 public:
-    MTSSerial(PinName TXD, PinName RXD, int txBufferSize = 64, int rxBufferSize = 64);
+    MTSSerial(PinName TXD, PinName RXD, int txBufferSize = 64, int rxBufferSize = 64, char* name = "");
     ~MTSSerial();
     void baud(int baudrate);
 //    void format(int bits=8, Parity parity=SerialBase::None, int stop_bits=1);
@@ -18,6 +18,7 @@
 private:
     Serial* serial; // Internal mbed Serial object
     int writeSize; // Amount of data to write based on buffer size
+    char* if_name; // Name of the interface
 };
 
 #endif /* MTSSERIAL_H */
\ No newline at end of file