Commit graph

59 commits

Author SHA1 Message Date
Josh Blum
dc8bcfde80 usb: work on libusb code to use a single context across all calls
libusb allocation stuff had been moved inside of smart pointer classes to handle automatic cleanup

the public device handle implementation now holds an actual libusb device inside of it

needs testing - all platforms
2010-09-25 21:07:15 -07:00
Josh Blum
f97c433845 usrp1: fixes to remove warnings and errors for usrp1 + libusb windows 2010-09-23 18:07:31 -07:00
Thomas Tsou
ad55e25aeb usrp1: Additional comments on libusb transport implemenation 2010-08-28 00:18:46 -07:00
Thomas Tsou
76365acdbb usrp1: Remove unused funtions libusb transport 2010-08-27 21:52:10 -07:00
Thomas Tsou
55da315451 usrp1: Additional comments to libusb transport implementation 2010-08-27 21:51:50 -07:00
Thomas Tsou
7f8c73faa2 usrp1: Handle degenerate managed send buffer cases
Handle degenerate usage of send buffer commits. If the buffer
is destroyed without ever being submitted, submit a zero byte
transfer to return control to the underlying structure. If a
committed buffer is re-committed, then report an error message
and return 0 bytes back.
2010-08-27 16:05:28 -07:00
Thomas Tsou
72fc20bc8b usrp1: Disable default debug output for libusb implementations 2010-08-27 14:59:25 -07:00
Thomas Tsou
fe7df530e6 usrp1: Modifiy USB transport implementations to use new interface
Common libusb1 code is consolidated in the libusb base file.
2010-08-26 12:21:50 -07:00
Thomas Tsou
86c86ede97 usrp1: Add libusb-1.0 implementations of USB interfaces 2010-08-13 17:54:33 -07:00