mirror of
https://github.com/wjwwood/serial.git
synced 2026-01-22 19:54:57 +08:00
Add support for serial bluetooth ports on Linux
Added search blob /dev/rfcomm*. rfcomm* is a commonly used naming convention for bluetooth ports on linux
This commit is contained in:
parent
cbcca7c837
commit
ebe965dfdf
@ -305,6 +305,7 @@ serial::list_ports()
|
||||
search_globs.push_back("/dev/ttyUSB*");
|
||||
search_globs.push_back("/dev/tty.*");
|
||||
search_globs.push_back("/dev/cu.*");
|
||||
search_globs.push_back("/dev/rfcomm*");
|
||||
|
||||
vector<string> devices_found = glob( search_globs );
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user