Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a cross platform c++ serial port library that can enumerate ports? [closed]

I am looking for a c++ library that can connect to and communicate with serial port devices. I need one that can be used on windows and linux. I have found "serialib" already but this has no feature for enumerating the available ports.

So I either need a cross platform "port enumerator" library or a whole new cross platform serial port library.

Does anyone know of a good one?

Thanks, Dan.

like image 985
LexBailey Avatar asked Jul 13 '12 08:07

LexBailey


1 Answers

http://wjwwood.io/serial/

https://github.com/wjwwood/serial

This is a cross-platform serial port library, which is MIT licensed and has no external dependencies for runtime.

like image 157
wjwwood Avatar answered Sep 19 '22 13:09

wjwwood