Skip to contentSkip to conversation

inquiry with rssi

Bluez-users Marco Trudel 2 participants 5 messages Mar 29, 2005 – Mar 30, 2005 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hello

how to do an inquiry with rssi?

I set the inquiry mode to "inquiry with rssi" with hci_write_inquiry_mode.

Then I passed an inquiry_info_with_rssi (named info) to hci_inquiry:
hci_inquiry(dev_id, length, num_rsp, NULL, (inquiry_info**)&info, flags);

but this doesn't seem to work.
what is the official way? Can someone provide a sample?

regards
Marco

Content Security by MailMarshal

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#1 lore raw

Hi Marco,

Quoted 9 lines

how to do an inquiry with rssi?

I set the inquiry mode to "inquiry with rssi" with hci_write_inquiry_mode.

Then I passed an inquiry_info_with_rssi (named info) to hci_inquiry:
hci_inquiry(dev_id, length, num_rsp, NULL, (inquiry_info**)&info, flags);

but this doesn't seem to work.
what is the official way? Can someone provide a sample?

the hci_inquiry() command does not support inquiry with RSSI. You must use the HCI raw socket for this.

Regards

Marcel

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#2 lore raw

Can you please provide an example?
I'm not that experienced in bluetooth programming as you are...

It would be sensefull to have a codesnippet like that in the mailinglistarchive as well...

regards
Marco

Quoted 24 lines · Marcel Holtmann

Hi Marco,

Quoted 9 lines

how to do an inquiry with rssi?

I set the inquiry mode to "inquiry with rssi" with hci_write_inquiry_mode.

Then I passed an inquiry_info_with_rssi (named info) to hci_inquiry:
hci_inquiry(dev_id, length, num_rsp, NULL, (inquiry_info**)&info, flags);

but this doesn't seem to work.
what is the official way? Can someone provide a sample?

the hci_inquiry() command does not support inquiry with RSSI. You must use the HCI raw socket for this.

Regards

Marcel

Quoted 11 lines

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

Content Security by MailMarshal

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#3 lore raw

Hi Marco,

Quoted 5 lines

Can you please provide an example?
I'm not that experienced in bluetooth programming as you are...

It would be sensefull to have a codesnippet like that in the mailinglistarchive as well...

actually there is such a code snippet in the mailing list archive.

Regards

Marcel

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#4 lore raw
Quoted 10 lines · Marcel Holtmann

Hi Marco,

Quoted 4 lines

Can you please provide an example?
I'm not that experienced in bluetooth programming as you are...

It would be sensefull to have a codesnippet like that in the mailinglistarchive as well...

actually there is such a code snippet in the mailing list archive.

found it. thanks for the hint!

regards
Marco

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users