#include "xsens/xsportinfolist.h"
Go to the source code of this file.
Functions | |
bool | xsEnumerateUsbDevices (XsPortInfoList &ports) |
Enumerate Xsens USB devices. More... | |
bool xsEnumerateUsbDevices | ( | XsPortInfoList & | ports | ) |
Enumerate Xsens USB devices.
If the OS already has drivers running for a device, the device should already have been found by xsEnumerateSerialPorts().
[in,out] | ports | The list of serial ports to append to |
Definition at line 36 of file enumerateusbdevices.cpp.
References ATMEL_BORROWED_PRODUCT_ID, ATMEL_VENDOR_ID, XsLibUsb::close, XsLibUsb::exit, FALSE, XsLibUsb::free_config_descriptor, XsLibUsb::free_device_list, XsLibUsb::get_active_config_descriptor, XsLibUsb::get_bus_number, XsLibUsb::get_device_address, XsLibUsb::get_device_descriptor, XsLibUsb::get_device_list, XsLibUsb::get_string_descriptor_ascii, XsLibUsb::init, JLDEBUG, XsLibUsb::kernel_driver_active, XsLibUsb::open, mrpt::system::os::sprintf(), XsLibUsb::unref_device, and XSENS_VENDOR_ID.
Referenced by mrpt::hwdrivers::CIMUXSens_MT4::initialize().
Page generated by Doxygen 1.8.14 for MRPT 1.5.7 Git: 5902e14cc Wed Apr 24 15:04:01 2019 +0200 at lun oct 28 01:39:17 CET 2019 |