Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Feb 2009 10:00:18 -0800
From:      Maksim Yevmenkin <maksim.yevmenkin@gmail.com>
To:        Iain Hibbert <plunky@rya-online.net>
Cc:        "freebsd-bluetooth@freebsd.org" <freebsd-bluetooth@freebsd.org>
Subject:   Re: libhci (was Re: pan profile support in freebsd)
Message-ID:  <bb4a86c70902041000t26ad9b66q94a32ff37cfb7f4b@mail.gmail.com>
In-Reply-To: <1233758519.360141.162.nullmailer@galant.ukfsn.org>
References:  <1233365217.00068654.1233354838@10.7.7.3> <4988DCCC.80201@mavhome.dp.ua> <bb4a86c70902031622hdc5231g1c9ce33f17842a1e@mail.gmail.com> <4988EBAC.3080202@mavhome.dp.ua> <bb4a86c70902031731q83bf261s49e5812a3c208f81@mail.gmail.com> <1233758519.360141.162.nullmailer@galant.ukfsn.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 4, 2009 at 6:41 AM, Iain Hibbert <plunky@rya-online.net> wrote:
> On Tue, 3 Feb 2009, Maksim Yevmenkin wrote:
>
>> i have plan to implement libhci (a-la linux bluez etc.) shim
>> eventually :) if someone feels like beating me to it, i would
>> certainly not object to it :)
>
> what api would you envisage?

i was thinking about doing most of the

http://git.kernel.org/?p=bluetooth/bluez.git;a=blob_plain;f=lib/hci.c;hb=1fa3750cb917358a6fb6bc718429c9000dd61ab3

starting from

int hci_inquiry(...)

and all the way down to the end of the file :) basically map dev_id to
unit numbers, i.e. dev_id 0 is "ubt0" node, etc.

i'm a bit concerned that if we follow linux too closely someone might
throw a hissy fit about bsd stealing linux's code and not using gpl :)
so we have to tread lightly here, imo :)

and, btw, i do not think i'm going to create a separate libhci for
this. existing libbluetooth is perfectly fine.

thanks,
max



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bb4a86c70902041000t26ad9b66q94a32ff37cfb7f4b>