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

Bastien Nocera
2006-08-17T13:03:33Z

On Thu, 2006-08-17 at 15:45 +0300, Johan Hedberg wrote:
> Hi Matthew,
>
> On Thu, Aug 17, 2006, Matthew Garrett wrote:
<snip>
> > 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.

--
Bastien Nocera <hadess@hadess.net>