INTRODUCTION Overview Download and Install Documentation Publications REPOSITORY Libraries DEVELOPER Dev Guide Dashboard PEOPLE Contributors Users Project Download Mailing lists
|
FlexiPortFlexiPort data communications library.
More...
|
Namespaces | |
namespace | flexiport |
FlexiPort data communications library. |
Provides a consistent interface for communicating over a range of data port types. Currently serial and TCP ports are supported. Support for USB ports is planned for when I get a suitable USB device to test with. Logging is possible, which allows communications sessions to be played back at a later date without the original hardware present.
The SerialPort and TCPPort port types are cross-platform, usable on Linux, Mac OSX and Microsoft Windows. If this library is compiled as static on Windows, you must define the FLEXIPORT_STATIC
preprocessor variable when compiling code that includes port.h, flexiport.h or timeout.h.
For a full list of classes and functions, see flexiport.
#include <flexiport/flexiport.h> #include <flexiport/port.h>
Optional if port type-specific features are required: For SerialPort:
#include <flexiport/serialport.h>
#include <flexiport/tcpport.h>
#include <flexiport/logwriterport.h> #include <flexiport/logreaderport.h>