
15 Sep
2010
15 Sep
'10
6:16 p.m.
Hi, I'm trying to communicate with a usb serial device plugged to a USB port. I've seen some examples with boost::asio and connecting to ie: /dev/ttyUSB0 for linux, or COM1 for windows etc. But i need something more robust and multiplatform. Like listing all the available devices and choosing by looking at the vendor id, or device id or something like that. How can i do that? Can this same approach be used later for say... bluetooth serial devices? How? Thank you all in advance. Alejandro