Is here maximum size of buffer for libusb_fill_bulk_transfer() call?

Hans Petter Selasky hps at selasky.org
Mon Oct 6 11:03:17 UTC 2014


On 10/06/14 12:54, Lev Serebryakov wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
>
>   Is here practical buffer size limit? I mean, maybe, standard limits
> transfer size by 64K or something like this?
>

Hi,

If the transfer is too big, libusb in FreeBSD loops using an internal 
buffer, unlike Linux. You should be able to setup any positive length 
which fits into an integer of type "int" or "uint32_t".

--HPS



More information about the freebsd-usb mailing list