MRPT  1.9.9
enumerateusbdevices.h File Reference
Include dependency graph for enumerateusbdevices.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool xsEnumerateUsbDevices (XsPortInfoList &ports)
 Enumerate Xsens USB devices. More...
 

Function Documentation

◆ xsEnumerateUsbDevices()

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().

Parameters
[in,out]portsThe list of serial ports to append to

Definition at line 38 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().

Here is the call graph for this function:
Here is the caller graph for this function:



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 8fe78517f Sun Jul 14 19:43:28 2019 +0200 at lun oct 28 02:10:00 CET 2019