* [Bluez-devel] command tx timeout and continuous inquiry.
@ 2003-09-14 22:43 Giannis Georgalis
0 siblings, 0 replies; only message in thread
From: Giannis Georgalis @ 2003-09-14 22:43 UTC (permalink / raw)
To: bluez-devel
Hello,
I have a thread doing an hci_inquiry() all the time, while at the same
time another thread is talking to other bluetooth devices via l2cap
connections. Additionally, I do an IREQ_CACHE_FLUSH every 20 - 30
seconds.
This whole scheme works fine most of the time, but as the time passes
I get a lot of:
hci_acl_tx_to: hci0 ACL tx timeout
hci_acl_tx_to: hci0 killing stalled ACL connection 36:55:05:02:90:00
hci_cmd_task: hci0 command tx timeout
and the hci_inquiry() fails with errno set to "Device or resource
busy".
Additionaly, there are times that hci_inquiry() cannot discover the
other bt devices (all running bluez). And even sometimes an l2cap
connection cannot be established.
Note that I'm using a 3COM (3CREB96) usb bluetooth device, a vanilla
2.4.22 kernel and libbluetooth 2.4-1 (debian unstable).
Firstly, I want to ask whether this behavior should be "expected" in
an environment that makes "heavy" use of the bluetooth resources. In
any case, how can this effect be minimized ? Any hints/pointers are
highly appreciated.
Secondly, I want to ask what the optimal call frequency (and
arguments) of hci_inquiry() should be in order to obtain "consistent"
results from it, when it is used in a while (1) {} loop.
Thank you,
Giannis
--
question = ( to ) ? be : ! be;
-- Wm. Shakespeare
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-09-14 22:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-14 22:43 [Bluez-devel] command tx timeout and continuous inquiry Giannis Georgalis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox