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