Linux bluetooth development
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: Hemant Gupta <hemantgupta.ste@gmail.com>
Cc: Claudio Takahasi <claudio.takahasi@openbossa.org>,
	Anderson Briglia <anderson.briglia@openbossa.org>,
	Anderson Lizardo <anderson.lizardo@openbossa.org>,
	linux-bluetooth@vger.kernel.org
Subject: Re: [RFC BlueZ]Proximity Monitor Discussion
Date: Tue, 20 Dec 2011 13:40:23 -0800	[thread overview]
Message-ID: <1324417223.1965.137.camel@aeonflux> (raw)
In-Reply-To: <CACj007=vVUEwvaqr7JhMqJ8VK95j2epK+1_Z+_cJ=1-+UwVnGw@mail.gmail.com>

Hi Hemant,

> > Please sync with Anderson Briglia, he already sent a RFC to the ML
> > some months ago.
> > In the Bluetooth Summit(Prague), we decided to not proceed with RSSI
> > monitor emulation in the kernel until we have a clear idea or spec
> > defining how the controllers will implement RSSI monitoring.
> Could you please provide some details about what was discussed in the summit.
> 
> > The ideia was to provide transparency, the userspace doesn't need to
> > know if RSSI monitoring is emulated or not.
> 
> As per my understanding the BT spec (4.0, Volume 2, Part E, Section
> 7.5.4) the HCI_Read_RSSI command can be used to retrieve the RSSI from
> the controller. In our case, I have tested it against ST-Ericsson BT
> controller  and it works in our case. Are you suggesting that until we
> know how the RSSI is determined in controller, we should not implement
> this functionality in kernel ? I ask this because in Proximity Spec,
> it is mentioned that the monitor should use appropriate calculations
> to prevent false alerts on reporter, so if we leave this to layer
> above BlueZ to do this part, then we are pretty independent with the
> approach of implementation of Path Loss RSSI Monitoring in BlueZ and
> Kernel.
> 
> If I misunderstood anything please clarify.

we need proper notifications about RSSI changes triggered by the
Bluetooth controller and not having the host polling the controller all
the time. So just the existence of HCI_Read_RSSI is not enough to make
this part efficient. And we can only emulate the RSSI notification via
polling once we know how the new HCI commands will look like. We are
kinda stuck here.

Regards

Marcel



  reply	other threads:[~2011-12-20 21:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-20  4:05 [RFC BlueZ]Proximity Monitor Discussion Hemant Gupta
2011-12-20 21:40 ` Marcel Holtmann [this message]
2011-12-22 14:09   ` Hemant Gupta
2011-12-22 14:10 ` Hemant Gupta
2011-12-22 17:29 ` Claudio Takahasi
2011-12-25 10:18   ` vishal agarwal
2011-12-28 19:27   ` Arun K. Singh
2011-12-28 22:26     ` Claudio Takahasi

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=1324417223.1965.137.camel@aeonflux \
    --to=marcel@holtmann.org \
    --cc=anderson.briglia@openbossa.org \
    --cc=anderson.lizardo@openbossa.org \
    --cc=claudio.takahasi@openbossa.org \
    --cc=hemantgupta.ste@gmail.com \
    --cc=linux-bluetooth@vger.kernel.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