What function from the libusb API are you using for the read?
TIA, Nikos
On Tue, Jan 14, 2014 at 12:08 AM, Pete Zaitcev zaitcev@kotori.zaitcev.uswrote:
On Mon, 13 Jan 2014 23:26:43 +0200 Nikos Balkanas nikos.balkanas@eyeonix.com wrote:
I need to get a few traffic data bytes ~ 16 B from my dongle. libusb's
bulk
transfer and therefore rtlsdr_read_sync, will fail with -8 if used with less than 1024 B. Can anyone think of another way to read them? (async
also
uses libusb's fill_bulk_transfer :-()
AFAIK, usbfs has no such limitation inherently and in fact I have transferred arbitrary amounts, for example in printer drivers. So you can go directly to usbfs if that helps.
-- Pete