Date: Fri, 13 Jan 2012 21:55:45 +0100 From: Hans Petter Selasky <hselasky@c2i.net> To: freebsd-hackers@freebsd.org Cc: Daniel Grech <dgre090@gmail.com> Subject: Re: USB Zero length packet Message-ID: <201201132155.45324.hselasky@c2i.net> In-Reply-To: <CAG167sacTDQHeGFHKKfc3oWK3O3DsxpYE7t97ea3O2=oNP3%2BOg@mail.gmail.com> References: <CAG167sacTDQHeGFHKKfc3oWK3O3DsxpYE7t97ea3O2=oNP3%2BOg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 13 January 2012 10:29:18 Daniel Grech wrote: > Hi, > > does anybody know what the procedure for sending a zero length packet > through libusb on FreeBSD is ? > > Thanks in advance, > > Regards, > > Daniel By writing zero bytes, you send a zero length packet. With the libusb20 API you can set a flag to optimise this case in the kernel instead. --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201132155.45324.hselasky>