Skip to contentSkip to conversation

Inquiry scans.

Bluez-devel James Courtier-Dutton 4 participants 4 messages Feb 23, 2004 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

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 [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#1 lore raw

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.

Quoted 25 lines · James Courtier-Dutton

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 [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

Signature · 14 lines
Stephen Crane, Rococo Software Ltd. http://www.rococosoft.com
[email protected] +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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
maintainer
#2 lore raw
In reply to James Courtier-Dutton

Hi James,

Quoted 8 lines

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.

Quoted 2 lines

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 [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#3 lore raw
In reply to James Courtier-Dutton
Quoted 11 lines · James Courtier-Dutton

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

Signature · 13 lines
Fred Schaettgen
[email protected]


-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel