linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] Belkin USB Adaptors and Failing hci_inquiry
Date: Thu, 16 Feb 2006 07:08:07 +0100	[thread overview]
Message-ID: <1140070087.29234.13.camel@localhost> (raw)
In-Reply-To: <loom.20060216T015926-491@post.gmane.org>

Hi Heba,

> 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.

send in the "hciconfig -a" output for both devices.

Regards

Marcel




-------------------------------------------------------
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

  reply	other threads:[~2006-02-16  6:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-16  1:08 [Bluez-devel] Belkin USB Adaptors and Failing hci_inquiry Heba Khamis
2006-02-16  6:08 ` Marcel Holtmann [this message]
2006-02-22 22:37   ` [Bluez-devel] " Heba Khamis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1140070087.29234.13.camel@localhost \
    --to=marcel@holtmann.org \
    --cc=bluez-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).