Modifier and Type | Method and Description |
---|---|
static String |
DescriptorUtils.dump(ConfigDescriptor descriptor)
Dumps the specified USB configuration descriptor into a string and
returns it.
|
static void |
LibUsb.freeConfigDescriptor(ConfigDescriptor descriptor)
Free a configuration descriptor obtained from
LibUsb.getConfigDescriptor(Device, byte, ConfigDescriptor) or
LibUsb.getActiveConfigDescriptor(Device, ConfigDescriptor) . |
static int |
LibUsb.getActiveConfigDescriptor(Device device,
ConfigDescriptor descriptor)
Get the USB configuration descriptor for the currently active
configuration.
|
static int |
LibUsb.getConfigDescriptor(Device device,
byte index,
ConfigDescriptor descriptor)
Get a USB configuration descriptor based on its index.
|
static int |
LibUsb.getConfigDescriptorByValue(Device device,
byte value,
ConfigDescriptor descriptor)
Get a USB configuration descriptor with a specific bConfigurationValue.
|
Copyright © 2011–2018 usb4java Team. All rights reserved.