On Mon, Aug 2, 2010 at 20:12, Luiz Augusto von Dentz <luiz.dentz@xxxxxxxxx> wrote: > Hi, > > On Mon, Aug 2, 2010 at 7:34 PM, Davide Pesavento <davidepesa@xxxxxxxxx> wrote: >> "using a connection" means pushing some traffic over it? >> Is there no other way to prevent the kernel from terminating idle connections? > > You should really think twice if you are creating a connection just to > see the link quality, it really doesn't worth. > OK, thanks for the advice. >> By the way, I've read in the Bluetooth specs that there exists an >> extended inquiry mode which allows the host to gather the RSSI of >> available devices too. How can I perform such kind of inquiry from my >> application using bluez? > > We do expose the RSSI when doing the device discovery, take a look at > DeviceFound documentation under doc/adapter-api.txt, as for link > quality maybe it can be made as a Property of device object, but as > Marcel said this is vendor specific so the use cases are very limited. > In the other hand it would be very nice if ui could show the link > quality and we could possible use it to route the audio back to the > speaker if the connection quality is too low. > What I'm trying to accomplish is indeed similar to that: I'd like to re-route some audio streams based on RSSI or link quality. > > -- > Luiz Augusto von Dentz > Computer Engineer > Regards, Davide -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html