VUSB HID packet length

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
falken
Posts: 2
Joined: Fri Mar 16, 2012 1:38 pm

VUSB HID packet length

Post by falken » Fri Mar 16, 2012 2:08 pm

Hi,
i recently built a vusb-device and tried use the hid-functions for communication with on a "win xp computer". As an example i used the Automator project but i am a little bit confused about the maximum bytes per packet. VUSB implements a low speed usb device. As far as i know the max packet length of low speed devices is 8 byte but in the Automator projekt a report with a length of 129 bytes is described! Would be fine if it works but unfortunately i get only the first 8 bytes. All other bytes have random values. Can anybody help me?

Best regards
falken

falken
Posts: 2
Joined: Fri Mar 16, 2012 1:38 pm

Re: VUSB HID packet length

Post by falken » Mon Mar 26, 2012 11:47 am

Problem solved! I used the data-pointer in usbWrite-function in a wrong way. :roll:

Post Reply