* [Bluez-users] inquiry with rssi
@ 2005-03-29 9:31 Marco Trudel
2005-03-29 10:10 ` Marcel Holtmann
0 siblings, 1 reply; 5+ messages in thread
From: Marco Trudel @ 2005-03-29 9:31 UTC (permalink / raw)
To: bluez-users
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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Bluez-users] inquiry with rssi
2005-03-29 9:31 [Bluez-users] inquiry with rssi Marco Trudel
@ 2005-03-29 10:10 ` Marcel Holtmann
2005-03-29 10:18 ` Marco Trudel
0 siblings, 1 reply; 5+ messages in thread
From: Marcel Holtmann @ 2005-03-29 10:10 UTC (permalink / raw)
To: BlueZ Mailing List
Hi Marco,
> 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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Bluez-users] inquiry with rssi
2005-03-29 10:10 ` Marcel Holtmann
@ 2005-03-29 10:18 ` Marco Trudel
2005-03-29 15:18 ` Marcel Holtmann
0 siblings, 1 reply; 5+ messages in thread
From: Marco Trudel @ 2005-03-29 10:18 UTC (permalink / raw)
To: bluez-users
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
Marcel Holtmann wrote:
> Hi Marco,
>
>
>>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
> Bluez-users@lists.sourceforge.net
> 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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Bluez-users] inquiry with rssi
2005-03-29 10:18 ` Marco Trudel
@ 2005-03-29 15:18 ` Marcel Holtmann
2005-03-30 10:02 ` Marco Trudel
0 siblings, 1 reply; 5+ messages in thread
From: Marcel Holtmann @ 2005-03-29 15:18 UTC (permalink / raw)
To: BlueZ Mailing List
Hi Marco,
> 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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Bluez-users] inquiry with rssi
2005-03-29 15:18 ` Marcel Holtmann
@ 2005-03-30 10:02 ` Marco Trudel
0 siblings, 0 replies; 5+ messages in thread
From: Marco Trudel @ 2005-03-30 10:02 UTC (permalink / raw)
To: bluez-users
Marcel Holtmann wrote:
> Hi Marco,
>
>
>>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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-03-30 10:02 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-29 9:31 [Bluez-users] inquiry with rssi Marco Trudel
2005-03-29 10:10 ` Marcel Holtmann
2005-03-29 10:18 ` Marco Trudel
2005-03-29 15:18 ` Marcel Holtmann
2005-03-30 10:02 ` Marco Trudel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox