Date: Wed, 20 May 2009 09:40:58 +0100 (BST) From: Iain Hibbert <plunky@rya-online.net> To: Maksim Yevmenkin <maksim.yevmenkin@gmail.com> Cc: freebsd-bluetooth@freebsd.org Subject: Re: libhci update Message-ID: <1242808858.879529.970.nullmailer@galant.ukfsn.org> In-Reply-To: <bb4a86c70905151021u2a42dd29m2edce0a011aba838@mail.gmail.com> References: <E1Lv5La-00058x-HH@smtpbarns01> <bb4a86c70904211651m6127745ao9d4f26c91e428994@mail.gmail.com> <1240386569.369073.696.nullmailer@galant.ukfsn.org> <bb4a86c70904220909j5d047ce6x6260bd2e87b5b7bd@mail.gmail.com> <1242294653.314348.1748.nullmailer@galant.ukfsn.org> <bb4a86c70905140926n488cb2b5x5f5530e01d70bd66@mail.gmail.com> <1242322384.832849.4269.nullmailer@galant.ukfsn.org> <bb4a86c70905141140u2b1662fdrf528c157d5fe7c2e@mail.gmail.com> <1242328962.345875.22296.nullmailer@galant.ukfsn.org> <1242335731.252131.19040.nullmailer@galant.ukfsn.org> <bb4a86c70905151021u2a42dd29m2edce0a011aba838@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 15 May 2009, Maksim Yevmenkin wrote: > however, bt_devsend/recv() can be used with the hci socket that was > created outside of libbluetooth. If this is to be the case (and I like it) then I think bt_devopen() should be documented to return a normal socket handle and have the caller call close() directly rather than bt_devclose() which adds nothing. also, on bt_devsend() can it return ssize_t number of bytes written? (I can't think a reason to want it, but it seems wasteful to discard :) and, going back a bit.. On Sat, Feb 14, 2009 at 1:52 AM, Iain Hibbert <plunky@rya-online.net> wrote: > (size and name could be passed in devinfo?) In the end, I'm not sure I actually like passing the name in the devinfo structure.. means every caller must do a copy rather than just passing it. I think bt_devinfo(name, di) would be better? iain
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1242808858.879529.970.nullmailer>