|
OSVR-Core
|
Header. More...
#include <osvr/USBSerial/USBSerialDevice.h>#include <boost/optional.hpp>#include <string>#include <vector>Go to the source code of this file.
Namespaces | |
| osvr | |
| The main namespace for all C++ elements of the framework, internal and external. | |
Functions | |
| std::vector< USBSerialDevice > | osvr::usbserial::getSerialDeviceList (boost::optional< uint16_t > vendorID=boost::optional< uint16_t >(), boost::optional< uint16_t > productID=boost::optional< uint16_t >()) |
Header.
| std::vector< USBSerialDevice > osvr::usbserial::getSerialDeviceList | ( | boost::optional< uint16_t > | vendorID = boost::optional<uint16_t>(), |
| boost::optional< uint16_t > | productID = boost::optional<uint16_t>() |
||
| ) |
DeviceID is the COM port name
PNPDeviceID is the hardware instance ID that has the VID:PID embedded in it.
We had something to search for, and we didn't find it, go on.
Couldn't parse the VID/PID - may not be a USB serial port.
On Windows (NT-based), the "full path" to a serial port with a COM port name is \. (where x is a number)
DeviceID is the COM port name
PNPDeviceID is the hardware instance ID that has the VID:PID embedded in it.
We had something to search for, and we didn't find it, go on.
Couldn't parse the VID/PID - may not be a USB serial port.
On Windows (NT-based), the "full path" to a serial port with a COM port name is \. (where x is a number)
1.8.12