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

Marcel Holtmann
2006-08-16T23:16:17Z

Hi Matthew,

> I'd like to use the DBus interface to determine whether or not a
> Bluetooth device is currently in range of the computer in order to work
> out whether or not it's possible to connect to it. Checking through the
> API suggests that there's currently nothing suitable for doing that.
> What would be the best way to implement it?

this is a general Bluetooth problem. If you don't have a connection
between two devices then there is no radio traffic. This is one of big
difference between Bluetooth and WiFi.

The only possible solution is to have the other device always be in
discoverable mode and use periodic inquiry with the RSSI values or
defines something for extended inquiry to transmit additional
information.

Regards

Marcel