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

Marcel Holtmann
2006-08-17T12:57:55Z

Hi Matthew,

> > > Right. But the DBus interface doesn't seem to provide any mechanism for
> > > initiating a connection to the device. GetName and the like appear to
> > > provide cached results even if the device is now out of range, which
> > > isn't what I want.
> > Hi Matthew,
> >
> > What about RFCOMM ConnectByChannel? Wouldn't it do the job?
>
> Well, it's not necessarily an RFCOMM connection. I'd prefer to just be
> able to store the fact that a device exists rather than what sort of
> connection and on what channels, especially since Marcel mentioned that
> the channel may well have changed if the Bluetooth device has been
> rebooted.

what you actually want is something like l2ping so see if a device is
alive or not. At the moment I am not considering such an extension,
because we shouldn't page devices to see if they are active or not.

Regards

Marcel