* DeviceFound-Signal without name?
@ 2009-04-01 14:05 Marcel
2009-04-01 14:29 ` Johan Hedberg
0 siblings, 1 reply; 2+ messages in thread
From: Marcel @ 2009-04-01 14:05 UTC (permalink / raw)
To: linux-bluetooth
Hi,
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
Greets
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: DeviceFound-Signal without name?
2009-04-01 14:05 DeviceFound-Signal without name? Marcel
@ 2009-04-01 14:29 ` Johan Hedberg
0 siblings, 0 replies; 2+ messages in thread
From: Johan Hedberg @ 2009-04-01 14:29 UTC (permalink / raw)
To: Marcel; +Cc: linux-bluetooth
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-04-01 14:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-01 14:05 DeviceFound-Signal without name? Marcel
2009-04-01 14:29 ` Johan Hedberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox