Date: Mon, 06 Oct 2014 13:03:11 +0200 From: Hans Petter Selasky <hps@selasky.org> To: lev@FreeBSD.org, freebsd-usb@freebsd.org Subject: Re: Is here maximum size of buffer for libusb_fill_bulk_transfer() call? Message-ID: <543276EF.5080809@selasky.org> In-Reply-To: <543274CE.5080308@FreeBSD.org> References: <543274CE.5080308@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?543276EF.5080809>