As title says, I've been trying to find a portable library with C/++ bindings for doing basic COM-port communication for an application I'm servicing. Windows/Linux support is a minimum.
As I'm not the original author of the software, and I'm not allowed to alter the details of the contract, the library has to be licensed so that I will be able to freely give back the resulting product without having anyone's hands tied down regarding the nature of the source code (ie. GPL is a no-go, but LGPL, BSD, ZLIB etc. are fine).
Any advices? Or would it perhaps be best to go about this by just writing the two separate Windows/Li开发者_如何学Pythonnux parts myself?
Many thanks in advance
The Boost C++ Libraries have portable serial port support. They have a non-GPL free license.
I have written a serial library that is BSD licensed and has been tested on Windows, Linux, and OS X.
http://wjwwood.github.com/serial/
精彩评论