linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bluez-devel] Belkin USB Adaptors and Failing hci_inquiry
@ 2006-02-16  1:08 Heba Khamis
  2006-02-16  6:08 ` Marcel Holtmann
  0 siblings, 1 reply; 3+ messages in thread
From: Heba Khamis @ 2006-02-16  1:08 UTC (permalink / raw)
  To: bluez-devel

Hi,

I am developing an application for automatic network discovery using bluetooth 
i.e. Running the application will result in connections to any other computers
running the same application:
  - Each application is running a server which accepts connections (once a
  connection is made, the connection is maintained until a transmission
  error occcurs or the socket is closed by either party);
  - and a client which repeatedly queries for bluetooth devices to connect to.

So in total an application makes and
maintains 2*(#other applications) connections.
        
This causes no problems when using the Belkin F8T003 Bluetooth USB Adaptor
(this is a bluetooth v1.1 compliant device).
        
However, when using the Belkin F8T009 Bluetooth USB Adaptor
(this is a bluetooth v1.2 compliant device)
"Device or Resource Busy" errors are observed
when the application tries to query
when there are 3 or more connections maintained by it.

Is this a bluetooth hardware issue,
a Bluez stack issue,
or does Bluez just not support this particular device??
        
I have installed all the latest versions:
  - Bluez-lib
  - Bluez-hcidump
I am running Fedora core 4 with the latest available updates of the kernel.

I've used hcidump to try and figure it out, but all it tells me is:
   HCI Command: Inquiry (0x01|0x0001) plen 5
     lap 0x9e8b33 len 8 num 255
   HCI Event: Command Status (0x0f) plen 4
    Inquiry (0x01|0x0001) status 0x0c ncmd 1
     Error: Command Disallowed

This really doesn't help me to understand why this is happening.
The status of that particular bluetooth device (a Belkin F8T003 Bluetooth USB 
bluetooth v1.1 compliant Adaptor) when the error occurs is as follows:
   a local server socket is listening for connections
   two remote clients are connected to the device
   a local client thread is attempting to query other devices using hci_inquiry

Please advise if I am overlooking something, or if this is not a Bluez issue,
could you please direct me to the appropriate contact.

Thanks,
Heba
 




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

end of thread, other threads:[~2006-02-22 22:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-16  1:08 [Bluez-devel] Belkin USB Adaptors and Failing hci_inquiry Heba Khamis
2006-02-16  6:08 ` Marcel Holtmann
2006-02-22 22:37   ` [Bluez-devel] " Heba Khamis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).