On Wed, 2012-05-23 at 12:20 +0300, Luiz Augusto von Dentz wrote: > Btw, are you sure this is a problem? We can have the same address in > different devices if they are paired with different adapters, > otherwise it is a bug and we should be able to fix it. Thanks for the information. I had the assumption[1] that the device addresses should be unique, but if they're not, the code that I've written is certainly broken. [1] I tried to verify my assumption first by asking on the #bluez irc channel, and after getting no responses, I checked the bluetoothd code and it seemed like the addresses would be guaranteed to be unique. The device objects were put in a map with the address as the key, so there could be no duplicates, but I guess I missed the fact that there are multiple of those maps, one for each adapter. -- Tanu