linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC 0/7] Implement Proximity Path Loss
@ 2011-06-15 21:02 anderson.briglia
  0 siblings, 0 replies; only message in thread
From: anderson.briglia @ 2011-06-15 21:02 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Anderson Briglia

From: Anderson Briglia <anderson.briglia@openbossa.org>

The following changes intend to be used by Proximity Monitor (mainly).
Proximity Path Loss needs to track the RSSI and TX Power. The suggested
approach for RSSI and TX power is similar to adapter powered callbacks, a
client(Proximity Monitor in our case) will register a callback per remote to be
notified when the RSSI of the active connection changes. Tx power will be used
by the Proximity Reporter to update the Tx Power Characteristic of the active
connection.

In this first proposal, the adapter reads the RSSI and/or Tx Power on regular
intervals(2 seconds) using hciops or mgmtops if there is at least one callback
registered.  Callbacks(per remote) can be registered using
btd_adapter_register_rssi_callback/btd_adapter_register_txpower_callback
functions.  Results from the hciops or mgmtops are reported using btd_event_xxx
and the value is "routed" to the registered callbacks.

Comments are welcome.

Anderson Briglia

Anderson Briglia (1):
  Implement mgmt_read_rssi command

Bruna Moreira (2):
  Implement mgmt_read_tx_power command
  Update Management API documentation

Claudio Takahasi (3):
  Add current tx power read on hciops
  Add RSSI read callbacks
  Add transmission power callbacks

Sheldon Demario (1):
  Add read RSSI on hciops

 doc/mgmt-api.txt  |   20 +++++
 lib/mgmt.h        |   20 +++++
 plugins/hciops.c  |   82 +++++++++++++++++++++
 plugins/mgmtops.c |  106 +++++++++++++++++++++++++++
 src/adapter.c     |  204 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/adapter.h     |   25 +++++++
 src/event.c       |   26 +++++++
 src/event.h       |    2 +
 8 files changed, 485 insertions(+), 0 deletions(-)

-- 
1.7.4.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-06-15 21:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-15 21:02 [RFC 0/7] Implement Proximity Path Loss anderson.briglia

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).