<div dir="ltr"><div>What function from the libusb API are you using for the read?<br></div><div><br></div><div>TIA,</div><div>Nikos</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 14, 2014 at 12:08 AM, Pete Zaitcev <span dir="ltr"><<a href="mailto:zaitcev@kotori.zaitcev.us" target="_blank">zaitcev@kotori.zaitcev.us</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Mon, 13 Jan 2014 23:26:43 +0200<br>
Nikos Balkanas <<a href="mailto:nikos.balkanas@eyeonix.com">nikos.balkanas@eyeonix.com</a>> wrote:<br>
<br>
> I need to get a few traffic data bytes ~ 16 B from my dongle. libusb's bulk<br>
> transfer and therefore rtlsdr_read_sync, will fail with -8 if used with<br>
> less than 1024 B. Can anyone think of another way to read them? (async also<br>
> uses libusb's fill_bulk_transfer :-()<br>
<br>
</div>AFAIK, usbfs has no such limitation inherently and in fact I have<br>
transferred arbitrary amounts, for example in printer drivers.<br>
So you can go directly to usbfs if that helps.<br>
<span class="HOEnZb"><font color="#888888"><br>
-- Pete<br>
</font></span></blockquote></div><br></div>