rtlsdr_read_sync failure

Nikos Balkanas nikos.balkanas at eyeonix.com
Mon Jan 13 23:14:26 UTC 2014


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 at kotori.zaitcev.us>wrote:

> On Mon, 13 Jan 2014 23:26:43 +0200
> Nikos Balkanas <nikos.balkanas at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/osmocom-sdr/attachments/20140114/d25f9386/attachment.html>


More information about the osmocom-sdr mailing list