From: Slavko K. <es...@gm...> - 2014-07-29 16:49:32
|
On 29. 07. 2014 18:20, Wander Lairson Costa wrote: > 2014-07-29 11:28 GMT-03:00 Slavko Kocjancic <es...@gm...>: >> Hello... >> >> How to make Asynchronous transfers with pyusb? >> I look for some example but no luck... >> >> I stuck on the beggining.. Ie I need to allocate some buffer but fail... >> I try like this: >> >> import usb >> transfer=lib.libusb_alloc_transfer(0) >> lib.libusb_free_transfer(transfer) >> >> How to do that?!? >> > Unfortunately, PyUSB doesn't have async support yet :( > > Ouch... So what can be done? Direct acess to lubusb? Is it possible to make callback in python?!? Or another library in c is way to go?!? any hint? |