Linux bluetooth development
 help / color / mirror / Atom feed
From: Fernando Unzu <fernando@bluexare.org>
To: bluez-devel@lists.sourceforge.net
Subject: [Bluez-devel] About hci_inquiry (Num_Responses)
Date: Thu, 1 Feb 2007 11:59:20 +0100	[thread overview]
Message-ID: <200702011159.21531.fernando@bluexare.org> (raw)

Hello,
I'm playing with hci_inquiry function and I have realizedthat Num_Responses, 
who is passed like an argument to the function, does not do wath I want.

I thought that this value told how many devices are scanned until the scanning 
stopped.
But this value tells how many devices "respond" the scan message (so one same 
device can "respond" several times).

With the hcidump I have realized on that.

I have realized this issue because I put this value to 7, for example, and 7 
seconds to the len, but, without find the 7 devices, and without spend all 
the time, the inquiry returns and saying only 3 devices found (for example).

There is any way to solve this? Or is the implementation of this function to 
do so...

There is any solution? Can I, in any way, say the hci_inquiry to stop the scan 
only when 7 (f.e) different devices respond, or only the unique solution is 
to scan for over 40 or more devices, and find all devices, although others 
respond several times...

Can anybody tell me where is the hci_inquiry code to take a study?

Thank you.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

             reply	other threads:[~2007-02-01 10:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-01 10:59 Fernando Unzu [this message]
2007-02-01 17:40 ` [Bluez-devel] About hci_inquiry (Num_Responses) Claudio Takahasi
2007-02-05  9:08   ` Fernando Unzu
2007-02-02  5:01 ` Vikas Sinha

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=200702011159.21531.fernando@bluexare.org \
    --to=fernando@bluexare.org \
    --cc=bluez-devel@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