HID-Data without libusb?
Posted: Tue Jun 09, 2009 11:30 pm
Hi there,
I'm trying to write data to a HID-Data device (like this in the download-package of v-usb) with C#, Enumerating and Opening the Device works fine but when I try to do a HidD_SetOutputReport or HidD_SetFeature I always get false as a return code and my device doesn't seem react on the commands.
There is a some kind of debug in my AVR-side code which toggles a LED when usbFunctionSetup is called - but the LED does never toggle.
Is there any trick for the Reports?
The demo program uses usb_control_msg of libUSB for the data-transfer but I want to avoid that lib because I've experienced trouble on some machines with it. Is there a native way (only windows) to send data to the USB-device?
I'm trying to write data to a HID-Data device (like this in the download-package of v-usb) with C#, Enumerating and Opening the Device works fine but when I try to do a HidD_SetOutputReport or HidD_SetFeature I always get false as a return code and my device doesn't seem react on the commands.
There is a some kind of debug in my AVR-side code which toggles a LED when usbFunctionSetup is called - but the LED does never toggle.
Is there any trick for the Reports?
The demo program uses usb_control_msg of libUSB for the data-transfer but I want to avoid that lib because I've experienced trouble on some machines with it. Is there a native way (only windows) to send data to the USB-device?