Return-Path: From: Marcel Holtmann To: BlueZ development In-Reply-To: <44E5B2A5.1070002@palmsource.com> 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> <1155839761.4075.165.camel@aeonflux.holtmann.net> <44E5B2A5.1070002@palmsource.com> Date: Fri, 18 Aug 2006 20:06:12 +0200 Message-Id: <1155924372.4075.191.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 Frederic, > >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. > > > In this case, I think it can be usefull to have same APIs in DBus for > "used devices" than for "paired devices". You can find in attachement a > patch that add ListUsed and RemovedUsed methods to hcid. > Hope this helps. I am not happy about the RemoveUsed method. I am not sure if one application should be able to say when a used device will be removed from the list. I think this should be application specific. I also might prefer to name the method ListRemoteDevices to list all paired, seen and used remote devices. We can then have special versions of this method for specific tasks. For example ListRecentRemoteDevices with a date parameter that will only list paired and used devices in that time frame. 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