Lost connection and caching
Hi all,
I'm using hcitool and bluez libraries to develop a simple application on PDA and laptop.
I have noticed this behaviour:
I pair two dongles so I can retrieve information such as RSSI, Link quality=
....
If I extract the USB dongle from the laptop, the other one continues providing RSSI information, and hcitool con show me that the connection is still alive.
Only after 10 secs it recognize the disconnection. I guess there is cache mechanism.
Where can I get more info about that?
Is there possible to force a refresh when I retrieve connection information= ?
best regards,
dB
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi,
Quoted 12 lines
I'm using hcitool and bluez libraries to develop a simple application on PDA and laptop.
I have noticed this behaviour:
I pair two dongles so I can retrieve information such as RSSI, Link quality.... If I extract the USB dongle from the laptop, the other one continues providing RSSI information, and hcitool con show me that the connection is still alive.
Only after 10 secs it recognize the disconnection. I guess there is cache mechanism.
Where can I get more info about that?
Is there possible to force a refresh when I retrieve connection information?
the disconnect is easy. That is the disconnect timeout or supervision timeout, but for the caching of RSSI I have no idea.
Regards
Marcel
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users