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 -- 1.7.5.4 -- 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