From owner-freebsd-bluetooth@FreeBSD.ORG Fri Feb 6 11:32:44 2009 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20A6710656D5 for ; Fri, 6 Feb 2009 11:32:44 +0000 (UTC) (envelope-from plunky@rya-online.net) Received: from smtp02.one2one.net (smtp02.one2one.net [149.254.192.174]) by mx1.freebsd.org (Postfix) with ESMTP id D11BA8FC1B for ; Fri, 6 Feb 2009 11:32:43 +0000 (UTC) (envelope-from plunky@rya-online.net) Received: from [127.0.0.1] (helo=localhost) by localhost.localdomain with esmtp (Exim 4.50) id 1LVOwp-0004WT-9f; Fri, 06 Feb 2009 11:32:39 +0000 Received: from localhost.t-mobile.co.uk ([127.0.0.1]) by localhost (smtpbeckt01 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17261-06; Fri, 6 Feb 2009 11:32:38 +0000 (GMT) Received: from [10.35.25.189] (helo=rya-online.net) by localhost.localdomain with smtp (Exim 4.50) id 1LVOwW-0004VV-8C; Fri, 06 Feb 2009 11:32:38 +0000 Received: (nullmailer pid 24503 invoked by uid 1000); Fri, 06 Feb 2009 11:31:20 -0000 Date: Fri, 6 Feb 2009 11:31:20 +0000 (GMT) To: Maksim Yevmenkin In-Reply-To: References: <1233365217.00068654.1233354838@10.7.7.3> <4988DCCC.80201@mavhome.dp.ua> <4988EBAC.3080202@mavhome.dp.ua> <1233758519.360141.162.nullmailer@galant.ukfsn.org> <1233845167.798942.24919.nullmailer@galant.ukfsn.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Message-Id: <1233919880.530235.10843.nullmailer@galant.ukfsn.org> From: Iain Hibbert X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at example.com X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: plunky@rya-online.net X-SA-Exim-Scanned: No (on localhost.localdomain); SAEximRunCond expanded to false Cc: "freebsd-bluetooth@freebsd.org" Subject: Re: libhci X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2009 11:32:44 -0000 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