From: Marcel Holtmann <marcel@holtmann.org>
To: Rob Raper <djrobx@hotmail.com>
Cc: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] What's the best way to go about device detection?
Date: Sun, 16 May 2004 22:20:24 +0200 [thread overview]
Message-ID: <1084738824.4184.47.camel@pegasus> (raw)
In-Reply-To: <BAY14-F3781Np7vXee40004099a@hotmail.com>
Hi Rob,
> Thanks for your reply. I'll have a look into RSSI. Is it
> possible to use RSSI for detection, but then use RFCOMM to do the actual
> communications? Once "linked" to a server they don't ever need to talk to
> multiple servers at the same time. It's just that other servers need to
> determine signal strength in order to decide when to perform a hand off.
this is what I said. The RSSI comes for free with an inquiry with RSSI
command from the Bluetooth 1.2 specification. And while a connection is
active you can retrieve it without any extra cost. Look at the hcitool
info command and see how it finds the needed ACL handle of an existing
connection.
And btw check your devices that they really support inquiry while they
maintain an open ACL connection.
> Here's the block of code that I'm currently using to do a scan. The old
> version which worked better was simply a verison of the "hcitool scan"
> routine modified to connect and check singal strength.
Sorry, but I won't read that code. It is too much nested and actually
code that needs more than 80 chars in a row is way too complex.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
next prev parent reply other threads:[~2004-05-16 20:20 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-16 17:42 [Bluez-users] What's the best way to go about device detection? Rob Raper
2004-05-16 20:20 ` Marcel Holtmann [this message]
[not found] <BAY14-F2518CB70kFir00064ba8@hotmail.com>
2004-05-19 22:44 ` Marcel Holtmann
-- strict thread matches above, loose matches on Subject: below --
2004-05-17 16:45 Rob Raper
2004-05-17 17:05 ` Marcel Holtmann
2004-05-17 5:35 Rob Raper
2004-05-17 11:04 ` Marcel Holtmann
2004-05-15 17:36 Rob Raper
2004-05-16 12:23 ` Marcel Holtmann
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=1084738824.4184.47.camel@pegasus \
--to=marcel@holtmann.org \
--cc=bluez-users@lists.sourceforge.net \
--cc=djrobx@hotmail.com \
/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