From: "Gustavo F. Padovan" <padovan@profusion.mobi>
To: Claudio Takahasi <claudio.takahasi@openbossa.org>
Cc: BlueZ development <linux-bluetooth@vger.kernel.org>,
Marcel Holtmann <marcel@holtmann.org>,
Johan Hedberg <johan.hedberg@nokia.com>
Subject: Re: Read RSSI through Management Interface?
Date: Wed, 20 Apr 2011 22:18:52 -0300 [thread overview]
Message-ID: <20110421011852.GB9392@joana> (raw)
In-Reply-To: <BANLkTinpSJeozeWCcYCBeQ=sxKU5SJSrSQ@mail.gmail.com>
Hi Claudio,
* Claudio Takahasi <claudio.takahasi@openbossa.org> [2011-04-20 19:20:57 -0300]:
> Hi guys,
>
> we need to read the RSSI of LE and basic rate connections to implement
> the Proximity profile. RSSI included in the advertising packets can't
> be used for Proximity, it requires an "active" connection.
>
> Here are some suggestions:
>
> 1. Add a new command to mgmt interface to add a given address into a
> RSSI "monitoring list".
> When the connection is established the kernel will automatically
> track the RSSI of the connection on regular intervals sending
> HCI_Read_RSSI. Read RSSI value can be reported through a new event in
> the management interface
>
> Forgetting SMP, we can keep the hciops compatibility implementing the
> same logic inside the hciops plugin.
I'm against this in hciops. Let's add the new features only to mgmtopts, so we
force people to use it and deprecate hciops.
>
> 2. Add a new command to mgmt interface to actively read the RSSI of a
> given connection/address
If the user use this in the wrong way it will waste power. Let's
do (1) and not give him this option to actively read RSSI.
--
Gustavo F. Padovan
http://profusion.mobi
next prev parent reply other threads:[~2011-04-21 1:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-20 22:20 Read RSSI through Management Interface? Claudio Takahasi
2011-04-21 1:18 ` Gustavo F. Padovan [this message]
2011-04-22 2:45 ` Claudio Takahasi
2011-05-11 11:22 ` Arun Kumar SINGH
2011-04-21 3:36 ` Marcel Holtmann
2011-04-22 2:58 ` Claudio Takahasi
2011-04-26 2:18 ` 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=20110421011852.GB9392@joana \
--to=padovan@profusion.mobi \
--cc=claudio.takahasi@openbossa.org \
--cc=johan.hedberg@nokia.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=marcel@holtmann.org \
/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