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
Diff: io/MTSBufferedIO.h
- Revision:
- 40:14342c4de476
- Parent:
- 36:bb6b293c7495
- Parent:
- 39:6e94520a3217
- Child:
- 43:3cacf019ed7d
--- a/io/MTSBufferedIO.h Thu Dec 19 16:54:09 2013 +0000 +++ b/io/MTSBufferedIO.h Thu Dec 19 19:53:43 2013 +0000 @@ -4,12 +4,15 @@ #include "mbed.h" #include "MTSCircularBuffer.h" +namespace mts { + /** This is an abstract class for lightweight buffered io to an underlying * data interface. Specifically the inheriting class will need to override * both the handle read and handle write functions which transfer data between * the classes internal read and write buffers and the physical communications * link or its HW buffers. */ + class MTSBufferedIO { public: @@ -88,4 +91,6 @@ MTSCircularBuffer* rxBuffer; // Internal read or receieve circular buffer }; +} + #endif /* MTSBUFFEREDIO_H */ \ No newline at end of file