Boost logo

Boost Users :

Subject: Re: [Boost-users] Asio Serial ports: enumerating all the devices
From: Kerry, Richard (richard.kerry_at_[hidden])
Date: 2013-04-10 09:22:14


"vendor id, product id "
What's that ?
I mean for a serial device. If they are present in the device protocol then fine, but that depends on the individual devices and their protocols.
You can check whether there has been any traffic, which might be useful, but serial connections are just streams of bytes.

Unhelpfully,
Richard.

PS
I do recognize "vendor id, product id " for SNMP and for other protocols working at a higher level than "serial".

________________________________
From: Boost-users [mailto:boost-users-bounces_at_[hidden]] On Behalf Of Vincent Boucher
Sent: 10 April 2013 13:40
To: boost-users_at_[hidden]
Subject: [Boost-users] Asio Serial ports: enumerating all the devices

Hello,

Are there cross-platform methods to discover all the devices currently connected through serial ports with Boost?

The idea is to have a function returning a list of device objects, each containing a handle, the related vendor id, product id and the baud rate at which the device was able to communicate.

My knowledge of serial communication is very limited, may be it is technically infeasible. Do you have any thoughts for Boost or other libs?

Analog enumerate method for HID devices:
http://www.signal11.us/oss/hidapi/

Thanks,

Vincent



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