public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marco Trudel <mtrudel@gmx.ch>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] inquiry with rssi
Date: Tue, 29 Mar 2005 12:18:26 +0200	[thread overview]
Message-ID: <42492B72.6010701@gmx.ch> (raw)
In-Reply-To: <1112091034.9016.64.camel@pegasus>

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

  reply	other threads:[~2005-03-29 10:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2005-03-29 15:18     ` Marcel Holtmann
2005-03-30 10:02       ` Marco Trudel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42492B72.6010701@gmx.ch \
    --to=mtrudel@gmx.ch \
    --cc=bluez-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox