Re: [PATCH 0/3] Implement TPS profile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Arik,

On Sun, Mar 11, 2012 at 5:23 AM, Arik Nemtsov <arik@xxxxxxxxxx> wrote:
> We replace the TPS stub in reporter.c with a fully functional
> implementation. The Tx power level for each LE device is read on
> connection and cached (as it cannot change). When a remote device
> requests it the cached value is returned.
>
> This series depends on the kernel patch:
> "Bluetooth: Implement Read Transmit Power Level command"
>
> It also depends the bluez series "Implement ProximityReporter profiles",
> mostly for the ATT patch adding the remote-device to each ATT read/write
> callback.
>
> Arik Nemtsov (3):
>  mgmt: implement read tx power
>  adapter: implement API to read Tx power
>  proximity: tx power: implement tx power server
>
>  Makefile.am          |    3 +-
>  lib/mgmt.h           |   11 ++
>  plugins/mgmtops.c    |   64 +++++++++++
>  proximity/reporter.c |   48 +--------
>  proximity/txpower.c  |  292 ++++++++++++++++++++++++++++++++++++++++++++++++++
>  proximity/txpower.h  |   24 ++++
>  src/adapter.c        |   75 +++++++++++++
>  src/adapter.h        |   17 +++
>  8 files changed, 488 insertions(+), 46 deletions(-)
>  create mode 100644 proximity/txpower.c
>  create mode 100644 proximity/txpower.h

I believe we need to hold this TPS series until some kernel support
for TX power reading (either automatically on every connection and
sent along the Device Connected event, or through a new mgmt command,
depending on what you agreed on IRC regarding what's the best
approach) is upstream.

Regards,
-- 
Anderson Lizardo
Instituto Nokia de Tecnologia - INdT
Manaus - Brazil
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux