|
Boost Users : |
Subject: [Boost-users] Read from serial devices on USB
From: Alejandro Martínez (elpeque2_at_[hidden])
Date: 2010-09-15 14:16:33
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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net