public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: Carles Cufi <carles.cufi@gmail.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: Bluetooth radio doesn´t reply to inquiry request
Date: Mon, 02 Mar 2009 00:55:58 +0100	[thread overview]
Message-ID: <1235951758.6074.49.camel@localhost.localdomain> (raw)
In-Reply-To: <D97BBDAF-F830-4495-B1CC-B56C5C235E72@gmail.com>

Hi Carles,

> > why don't you use periodic inquiry instead and let the controller  
> > handle
> > the timing.
> >
> 
> Because the specific bit I am working on is a C++ library capable of  
> doing (among other things) asynchronous discovery while avoiding any  
> intermediate caches (that's why I don't use the D-Bus interface or the  
> ioctl call) and I do not have control over the periodicity of the  
> inquiry nor know when it is going to be cancelled or started again.  
> The API requirements were to provide an fast, not cached inquiry that  
> can be started and cancelled at will by the application.
> Having examined the logs the amount of inquiry requests I am sending  
> is fairly low (every 30 seconds or so) and so I thought it wouldn't be  
> a problem for the HCI or USB layers to handle in terms of data volume.

do me favor and read the Bluetooth specification, because periodic
inquiry is a low-level HCI command.

> > Also should try the bluetooth-testing.git tree since it contains an
> > updated btusb.ko driver.
> 
> I will try it and let you know about the results.
> Does this imply that it looks like a problem in the btusb driver? The  
> only other explanations that occurred me until now were:

With btusb we were trying to send as less URBs as possible, but it could
be that not having bulk URB running the chips behave funny. At least
that is what we have seen with some hardware. So that could be an issue
here. Nobody knows for sure.

Regards

Marcel



  reply	other threads:[~2009-03-01 23:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-01 12:45 Bluetooth radio doesn´t reply to inquiry request Carles Cufi
2009-03-01 18:21 ` Marcel Holtmann
2009-03-01 18:55   ` Carles Cufi
2009-03-01 23:55     ` Marcel Holtmann [this message]
2009-03-02 11:22       ` Carles Cufi
2009-03-02 17:32   ` Carles Cufi
2009-03-03 16:38   ` Carles Cufi

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=1235951758.6074.49.camel@localhost.localdomain \
    --to=marcel@holtmann.org \
    --cc=carles.cufi@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /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