public class InterfaceDescriptor extends Interface
Modifier and Type | Method and Description |
---|---|
int |
getAlternateSetting()
get alternate setting of this interface
|
EndpointDescriptor |
getEndpointDescriptor(int endpointAddress)
get endpoint descriptor with specified endpoint address
|
java.util.List<EndpointDescriptor> |
getEndpointDescriptors()
get all endpoint descriptors of this interface
|
int |
getInterfaceNumber()
get interface number of this interface
|
int |
getNumberOfEndpoints()
get number of endpoints this interface has
|
attachKernelDriver, detachKernelDriver, getAlternateSetting, getAlternateSettings, getNumberOfAlternateSettings, kernelDriverActive, setAltSetting, setAutoDetachKernelDriver
getAllInterfaces, getConfigValue, getInterface, getNofInterfaces
getActiveConfigDescriptor, getConfigDescriptor, getConfigDescriptors, getManufacturerDescIndex, getNofConfigurations, getProductDescIndex, getProductId, getSerialNumberIndex, getVendorId, setActiveConfigDescriptor
getLength, getType
public java.util.List<EndpointDescriptor> getEndpointDescriptors() throws ch.ntb.inf.libusb.exceptions.LibusbException
ch.ntb.inf.libusb.exceptions.LibusbException
public EndpointDescriptor getEndpointDescriptor(int endpointAddress) throws ch.ntb.inf.libusb.exceptions.LibusbException
endpointAddress
- ch.ntb.inf.libusb.exceptions.LibusbException
public int getNumberOfEndpoints() throws ch.ntb.inf.libusb.exceptions.LibusbException
ch.ntb.inf.libusb.exceptions.LibusbException
public int getInterfaceNumber() throws ch.ntb.inf.libusb.exceptions.LibusbException
ch.ntb.inf.libusb.exceptions.LibusbException
public int getAlternateSetting() throws ch.ntb.inf.libusb.exceptions.LibusbException
ch.ntb.inf.libusb.exceptions.LibusbException