Re: [javax-usb-devel] cannot send data to a HID Device

2008-07-18 Thread Dan Streetman
Ok, if you say so. You know that *reading* with a 64-byte buffer and *writing* 64 bytes are completely different. Maybe you have have confused the device's max-packet-size with its communication data. Devices do not need you to send extra zeros, and I've never seen one that required it before (it

Re: [javax-usb-devel] cannot send data to a HID Device

2008-07-18 Thread Marion Decrouez
The device communicates with packets of 64 bytes. It's weird beacause I can read data from it but I can't send data to it. Quoting Dan Streetman <[EMAIL PROTECTED]>: > Are you sure you want to send 62 zeros? Is that what the device's spec says? > > On Thu, Jul 17, 2008 at 12:10 PM, Marion Decr

Re: [javax-usb-devel] cannot send data to a HID Device

2008-07-17 Thread Dan Streetman
Are you sure you want to send 62 zeros? Is that what the device's spec says? On Thu, Jul 17, 2008 at 12:10 PM, Marion Decrouez <[EMAIL PROTECTED]> wrote: > I'm trying to send a packet of 64 bytes, the first one (or the second) equal > to 0x30 and the others equals to 0. > > Dan Streetman a écrit

Re: [javax-usb-devel] cannot send data to a HID Device

2008-07-17 Thread Marion Decrouez
I'm trying to send a packet of 64 bytes, the first one (or the second) equal to 0x30 and the others equals to 0. Dan Streetman a écrit : > What data (specific bytes) are you intending to send? > > On Wed, Jul 9, 2008 at 4:14 AM, Marion Decrouez > <[EMAIL PROTECTED]> wrote: > >> Hello, >> I'm s

Re: [javax-usb-devel] cannot send data to a HID Device

2008-07-13 Thread Dan Streetman
What data (specific bytes) are you intending to send? On Wed, Jul 9, 2008 at 4:14 AM, Marion Decrouez <[EMAIL PROTECTED]> wrote: > Hello, > I'm still trying to send data to a HID device but it doesn't work. I > don't have any errors or exceptions but the syncSubmit method never > ends and if I use

[javax-usb-devel] cannot send data to a HID Device

2008-07-09 Thread Marion Decrouez
Hello, I'm still trying to send data to a HID device but it doesn't work. I don't have any errors or exceptions but the syncSubmit method never ends and if I use the asynchSubmit method, the actual lentgh is always null. I'm sure it's possible to send data to the device because there's a so