Writing to VUSB using API only... Is it possible?

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
Vanoid
Posts: 1
Joined: Sun Jul 18, 2010 2:43 pm

Writing to VUSB using API only... Is it possible?

Post by Vanoid » Sun Jul 18, 2010 3:02 pm

Hi, everyone! Trying to write to V-USB using only API functions. Later, I want to use V-USB device with Windows CE operation System.
Device absolutely functional, because example set-led is still working. I read sources of this example and sources of a driver: "libusb-win32-filter-bin-0.1.12.1".
To light-on led indicator I trying to use in Delphi:

Code: Select all

 cmd[0]:=$01;
 cmd[1]:=$00;
 cmd[2]:=$00;
 cmd[3]:=$00;

 //$80C LIBUSB_IOCTL_VENDOR_WRITE
 DeviceIOControl(HidHandle,$80C,nil,0,addr(cmd),4,res,nil);

No result.

Where I can find examples or documentation how to work with this device using native windows API functions? Or, maybe, you can do this?

Post Reply