public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] Inquiry scans.
@ 2004-02-23 15:39 James Courtier-Dutton
  2004-02-23 17:04 ` Stephen Crane
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: James Courtier-Dutton @ 2004-02-23 15:39 UTC (permalink / raw)
  To: BlueZ Mailing List

I have a Nokia 6310i mobile phone.
It has a bluetooth menu item that says: -
"Search for audio accessories"

If I activate this on the Nokia, it finds the Bluetooth headset.

In Bluez, in hcidump, I would expect to see these requests/responds 
between those two devices, but I see nothing.

If bluez never sees the Inquiry scan from the Nokia, how will bluez ever 
be able to respond?

Cheers
James


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* Re: [Bluez-devel] Inquiry scans.
  2004-02-23 15:39 [Bluez-devel] Inquiry scans James Courtier-Dutton
@ 2004-02-23 17:04 ` Stephen Crane
  2004-02-23 17:21 ` Marcel Holtmann
  2004-02-23 17:38 ` Fred Schättgen
  2 siblings, 0 replies; 4+ messages in thread
From: Stephen Crane @ 2004-02-23 17:04 UTC (permalink / raw)
  To: James Courtier-Dutton; +Cc: BlueZ Mailing List

The Nokia is probably making its decision on the basis of the
class-of-device field returned by a device inquiry. 

I'm not sure if this is visible above the HCI level.

On Mon, 2004-02-23 at 15:39, James Courtier-Dutton wrote:
> I have a Nokia 6310i mobile phone.
> It has a bluetooth menu item that says: -
> "Search for audio accessories"
> 
> If I activate this on the Nokia, it finds the Bluetooth headset.
> 
> In Bluez, in hcidump, I would expect to see these requests/responds 
> between those two devices, but I see nothing.
> 
> If bluez never sees the Inquiry scan from the Nokia, how will bluez ever 
> be able to respond?
> 
> Cheers
> James
> 
> 
> -------------------------------------------------------
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
-- 
Stephen Crane, Rococo Software Ltd. http://www.rococosoft.com
steve.crane@rococosoft.com +353-1-6601315 (ext 209)



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* Re: [Bluez-devel] Inquiry scans.
  2004-02-23 15:39 [Bluez-devel] Inquiry scans James Courtier-Dutton
  2004-02-23 17:04 ` Stephen Crane
@ 2004-02-23 17:21 ` Marcel Holtmann
  2004-02-23 17:38 ` Fred Schättgen
  2 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2004-02-23 17:21 UTC (permalink / raw)
  To: James Courtier-Dutton; +Cc: BlueZ Mailing List

Hi James,

> I have a Nokia 6310i mobile phone.
> It has a bluetooth menu item that says: -
> "Search for audio accessories"
> 
> If I activate this on the Nokia, it finds the Bluetooth headset.
> 
> In Bluez, in hcidump, I would expect to see these requests/responds 
> between those two devices, but I see nothing.

you will never see them, because this is the job of the link manager and
not the HCI layer.

> If bluez never sees the Inquiry scan from the Nokia, how will bluez ever 
> be able to respond?

You don't need this information on the host stack side. The Bluetooth
chip itself responds to it.

Regards

Marcel




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* Re: [Bluez-devel] Inquiry scans.
  2004-02-23 15:39 [Bluez-devel] Inquiry scans James Courtier-Dutton
  2004-02-23 17:04 ` Stephen Crane
  2004-02-23 17:21 ` Marcel Holtmann
@ 2004-02-23 17:38 ` Fred Schättgen
  2 siblings, 0 replies; 4+ messages in thread
From: Fred Schättgen @ 2004-02-23 17:38 UTC (permalink / raw)
  To: bluez-devel; +Cc: James Courtier-Dutton

On Monday 23 February 2004 16:39, James Courtier-Dutton wrote:
> I have a Nokia 6310i mobile phone.
> It has a bluetooth menu item that says: -
> "Search for audio accessories"
>
> If I activate this on the Nokia, it finds the Bluetooth headset.
>
> In Bluez, in hcidump, I would expect to see these requests/responds
> between those two devices, but I see nothing.
>
> If bluez never sees the Inquiry scan from the Nokia, how will bluez ever
> be able to respond?

You can't see inquiry scans with hcidump. Afaik there is no way to find out if 
your bluetooth adapter responded to an inquiry from another device.
The nokia probably looks a the device class - which is returned as part of an 
inquiry result - of the bluetooth device to find out if it is a 
headset/handsfree or not, so it can single out the headsets
without having to use SDP (which is visible in hcidump).
If you set the device class of your computer to 0x700408 for instance, the 
phone should recognize your computer as a handsfree. Problem is that most 
devices will place a headset icon next to your computers name in the device 
list now ;)

greetings
Fred

-- 
Fred Schaettgen
Sch@ttgen.net


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

end of thread, other threads:[~2004-02-23 17:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-23 15:39 [Bluez-devel] Inquiry scans James Courtier-Dutton
2004-02-23 17:04 ` Stephen Crane
2004-02-23 17:21 ` Marcel Holtmann
2004-02-23 17:38 ` Fred Schättgen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox