public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] Lost connection and caching
@ 2005-09-09  8:17 d B
  2005-09-09  9:08 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: d B @ 2005-09-09  8:17 UTC (permalink / raw)
  To: bluez-users

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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Bluez-users] Lost connection and caching
  2005-09-09  8:17 [Bluez-users] Lost connection and caching d B
@ 2005-09-09  9:08 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2005-09-09  9:08 UTC (permalink / raw)
  To: bluez-users

Hi,

> 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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-09-09  9:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-09  8:17 [Bluez-users] Lost connection and caching d B
2005-09-09  9:08 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox