Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Feb 2009 11:31:20 +0000 (GMT)
From:      Iain Hibbert <plunky@rya-online.net>
To:        Maksim Yevmenkin <maksim.yevmenkin@gmail.com>
Cc:        "freebsd-bluetooth@freebsd.org" <freebsd-bluetooth@freebsd.org>
Subject:   Re: libhci
Message-ID:  <1233919880.530235.10843.nullmailer@galant.ukfsn.org>
In-Reply-To: <bb4a86c70902051001j53f52e3dhb2e80e393b936f16@mail.gmail.com>
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>  <bb4a86c70902041000t26ad9b66q94a32ff37cfb7f4b@mail.gmail.com>  <1233845167.798942.24919.nullmailer@galant.ukfsn.org> <bb4a86c70902051001j53f52e3dhb2e80e393b936f16@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 5 Feb 2009, Maksim Yevmenkin wrote:

> anyway, what would you suggest to use instead of dev_id? device name
> (i.e. ubt0)? anything else? cant use bd_addr because (in freebsd at
> least) device has to be "initialized" before bd_addr is known.

for sure, a generic API would need to use the device name. Internally it
can translate to whatever the local hardware control API uses.

> i will take a look at ms api. but surely we have ability to send and
> receive hci commands/events and enumerate all radios in the system in
> addition to inquiry, dont you think?

enumerating the radios is useful, yes, but having a function to set the
afh_map or some other setting?  I think that this is only required by the
administrator program (hccontrol in your case) so why does it need to be
in a shared library?

In a way, its similar for the string functions. What program needs to be
able to print the features list?  Only a shell based admin tool in
reality, even a graphical program might want to provide such a feature
list in a different format anyway..

iain



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