public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Johan Hedberg <johan.hedberg@nokia.com>
To: Marcel <wittemar@googlemail.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: DeviceFound-Signal without name?
Date: Wed, 1 Apr 2009 17:29:07 +0300	[thread overview]
Message-ID: <20090401142907.GA3028@localhost> (raw)
In-Reply-To: <bb7250380904010705k2bd15e55t750b1ae34e480f35@mail.gmail.com>

Hi,

On Wed, Apr 01, 2009, Marcel wrote:
> why does the DeviceFound-Signal from the D-Bus-API does not contain a
> name of the device until I have connected to the device one time oder
> until "hcitool scan" found the device? Is there a possibility to
> configure bluetoothd to put the name every time in this signal? Or is
> there a simple way to ask for the name through the D-Bus-API if it is
> missing? I'm using bluez 4.33

If both either local device and the remote device isn't a Bluetooth 2.1
device then you should first be getting a DeviceFound signal without a
name and then a little bit later a DeviceFound signal with the name.
This is because the initial inquiry response event doesn't contain the
name and it needs to be queried separately later. If you're not getting
the second signal we would be interested in investigating why. For this
the output of hcidump -XV would help a lot. One reason could e.g. be
that the device went out of range or is strangly configured to have
inquiry scan enabled but page scan disabled (you shouldn't find any
commercial devices like this but e.g. a linux box can be configured that
way).

Johan

      reply	other threads:[~2009-04-01 14:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-01 14:05 DeviceFound-Signal without name? Marcel
2009-04-01 14:29 ` Johan Hedberg [this message]

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=20090401142907.GA3028@localhost \
    --to=johan.hedberg@nokia.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=wittemar@googlemail.com \
    /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