Re: [Bluez-devel] Question about hci_create_connection and clock offset

Florian Echtler
2008-04-24T12:03:54Z

> > However, what I'm trying to do - repeating inquiries in one thread,
> > checking RSSI in another one (even for devices that haven't been
> > seen by
> > the last inquiries) - doesn't seem possible in the D-Bus API, as there
> > is no function to create a low-level ACL connection to a device
> > address..?
> what do you expect from the RSSI value that you get from an active ACL
> link. It is different from the RSSI value you get via inquiry anyway.
Well, that wouldn't matter, as I'm going to put all that into a wrapper
class anyway.

Maybe a word about what I'm trying to do - as you may have guessed
already, it's about proximity sensing. I've put a minimal Dbus interface
into my wrapper class and it's actually working quite nicely. However,
some of the devices which I'm working with - e.g., Motorola mobile
phones - have a hardcoded discoverable timeout of 3 minutes.

This makes things a bit more difficult for me, as these phones suddenly
vanish from the list which the Dbus interface is providing, even if they
are still in range. With the hci_* interface, I can simply try to open
an ACL connection and get the RSSI value to see if they are just
invisible. How do I do this with Dbus?

Thanks for your help,