|
||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||
USB.getDevice(...).LibusbJava.usb_set_altinterface(long, int)).LibusbJava.usb_set_configuration(long, int)).
Usb_Bus element.
Device.updateDescriptors() or
Device.open(int, int, int).
USB.getDevice(short, short, String).
Device.updateDescriptors() or
Device.open(int, int, int).
LibusbJava.usb_init().
Device.getDeviceDescriptor() and
Device.getConfigDescriptors().
usb_claim_interface must be
called before you perform any operations related to this interface (like
usb_set_altinterface, usb_bulk_write, etc).
usb_close closes a device opened with
usb_open.
Usb_Descriptor.USB_DT_CONFIG_SIZE and the type is
Usb_Descriptor.USB_DT_CONFIG.usb_find_busses will find all of the busses on the system.
usb_find_devices will find all of the devices on each bus.
usb_get_busses returns a tree of descriptor objects.LibusbJava.usb_get_descriptor_by_endpoint(long, int, byte, byte, int)
for a function that allows the control endpoint to be specified.
usb_get_string_simple is a wrapper around
usb_get_string that retrieves the string description
specified by index in the first language for the descriptor.
usb_init sets up some internal
structures.
Usb_Descriptor.USB_DT_INTERFACE_SIZE and the type is
Usb_Descriptor.USB_DT_INTERFACE.usb_open is to be used to open up a device for use.
usb_reset,
the device will need to re-enumerate and thusly, requires you to find the
new device and open a new handle.
|
||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||