public class ConfigurationDescriptor extends DeviceDescriptor
Modifier and Type | Method and Description |
---|---|
java.util.List<Interface> |
getAllInterfaces()
get a List of all interfaces supported by this configuration
|
int |
getConfigValue()
get the configuration value of the current configuration
|
Interface |
getInterface(int number)
get the specified interface
|
int |
getNofInterfaces()
get the number of interfaces supported by this configruation
|
getActiveConfigDescriptor, getConfigDescriptor, getConfigDescriptors, getManufacturerDescIndex, getNofConfigurations, getProductDescIndex, getProductId, getSerialNumberIndex, getVendorId, setActiveConfigDescriptor
getLength, getType
public int getNofInterfaces()
public Interface getInterface(int number) throws ch.ntb.inf.libusb.exceptions.LibusbException
number
- of desired interfacech.ntb.inf.libusb.exceptions.LibusbException
public java.util.List<Interface> getAllInterfaces()
public int getConfigValue()