Page 1 of 1

libusb_win32 can communicate with the endpoint 1or2??

Posted: Sat Jan 19, 2008 12:10 pm
by christmas108
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.

Posted: Sun Jan 20, 2008 8:21 am
by christmas108
i need your help,thanks a lot.

Posted: Mon Jan 21, 2008 7:52 pm
by christian
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.