Re: [Bluez-devel] DBus interface - determining whether a device exists

Marcel Holtmann
2006-08-17T18:36:01Z

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