Re: [javax-usb-devel] Another attempt

2004-04-25 Thread Dan Streetman
what are you doing? it looks like you're trying to get/parse the binary descriptors when they're already fetched and parsed for you. See UsbConfiguration.getUsbConfigurationDescriptor() and UsbDevice.getUsbDeviceDescriptor() and so on. Also as far as the endpoints: UsbDevice.getActiveUsbConfigu

[javax-usb-devel] Another attempt

2004-04-22 Thread Vasilios Anagnostopoulos
Dear Roger and javax-usb users . I managed to get the required information with   > "getDescriptor+getConfiguration">  > bmRequestType 1000B> bRequest  GET_DESCRIPTOR> wvalue 0x0200 /*Configuration*/> windex 0> wvalue  256 bytes (old was only 9 bytes).   It returns 32 bytes , 9 for confi