Return-Path: From: Marcel Holtmann To: BlueZ development In-Reply-To: <1155819813.18545.36.camel@cookie.hadess.net> References: <20060816153432.GA13691@srcf.ucam.org> <1155770177.4075.102.camel@aeonflux.holtmann.net> <20060816214606.GA21719@srcf.ucam.org> <1155819360.4075.123.camel@aeonflux.holtmann.net> <20060817113538.GB5118@srcf.ucam.org> <1155823499.4075.157.camel@aeonflux.holtmann.net> <20060817122559.GA6422@srcf.ucam.org> <20060817124514.GA27427@localhost.localdomain> <1155819813.18545.36.camel@cookie.hadess.net> Date: Thu, 17 Aug 2006 20:36:01 +0200 Message-Id: <1155839761.4075.165.camel@aeonflux.holtmann.net> Mime-Version: 1.0 Subject: Re: [Bluez-devel] DBus interface - determining whether a device exists Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net Hi Bastien, > > > I guess that since we don't have any guarantees that the device exists > > > at any given point in time anyway, this makes less difference and we > > > should just populate HAL regardless. I suppose I'm open to that. > > > > Maybe you could simply use the list of bonded devices to populate HAL? > > You could use the ListBondings method and BondingCreated/BondingRemoved > > signals for that. > > This is how MacOS X populates its selection lists. They have the list of > paired devices, as well as "Favourite" devices. we also store the last seen (inquiry) and last used (connected) time of any device. This can be also used to populate the HAL list. For example it should include all bonded devices and additionally devices that have been connected in the last 7 days or so. Regards Marcel ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel