libusb_win32 can communicate with the endpoint 1or2??

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
christmas108
Posts: 2
Joined: Sat Jan 19, 2008 11:39 am

libusb_win32 can communicate with the endpoint 1or2??

Post by christmas108 » Sat Jan 19, 2008 12:10 pm

avrusb is good,but it is always use control transfer,use function usb_control_msg().Now, i use PIDUSBD12, I want to use libusb communicate with endpoint 1or2.for the hosts,i don't known use which function,how to use that fuction.who can help me?thank you at advance.
i was puzzled by it for several days.

christmas108
Posts: 2
Joined: Sat Jan 19, 2008 11:39 am

Post by christmas108 » Sun Jan 20, 2008 8:21 am

i need your help,thanks a lot.

christian
Objective Development
Objective Development
Posts: 1443
Joined: Thu Nov 09, 2006 11:46 am

Post by christian » Mon Jan 21, 2008 7:52 pm

In Libusb, you use the same function for all endpoints (regardless of the number), just set the endpoint number parameter differently.

You only need different functions for interrupt- or bulk transfers. Please note that bulk transfers are not allowed on low speed devices.

Post Reply