Return-Path: From: Arik Nemtsov To: Cc: Arik Nemtsov Subject: [PATCH 0/8] Implement ProximityReporter profiles Date: Thu, 8 Mar 2012 15:57:04 +0200 Message-Id: <1331215032-27695-1-git-send-email-arik@wizery.com> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: This patch-set implements the Link loss and Immediate Alert GATT server profiles. A few API calls are added/changed in preparation, the most notable of which is the addition of the remote-device to each GATT read/write callback. The new profiles are separated into their own files for clarity. A ProximityReporter D-Bus interface is registered for each remote device. Property queries and PropertyChanged notifications are implemented, in accordance to doc/proximity-api.txt. Comments are welcome. Arik Nemtsov (8): att: add remote btd_device to ATT read/write callbacks adapter: add API to find an existing device by D-Bus path adapter: add DeviceAdded signal when existing device is added proximity: reporter: save global D-Bus connection proximity: reporter: move definitions to .h and add util function proximity: link loss: implement link loss server proximity: immediate alert: implement immediate alert server proximity: reporter: implement D-Bus API Makefile.am | 4 +- attrib/att.h | 6 +- doc/adapter-api.txt | 5 + plugins/gatt-example.c | 3 +- proximity/immalert.c | 288 +++++++++++++++++++++++++++++++++++++++ proximity/immalert.h | 26 ++++ proximity/linkloss.c | 350 ++++++++++++++++++++++++++++++++++++++++++++++++ proximity/linkloss.h | 26 ++++ proximity/reporter.c | 275 +++++++++++++++++++++++++++---------- proximity/reporter.h | 16 +++ src/adapter.c | 32 +++++ src/adapter.h | 2 + src/attrib-server.c | 19 ++- time/server.c | 6 +- 14 files changed, 972 insertions(+), 86 deletions(-) create mode 100644 proximity/immalert.c create mode 100644 proximity/immalert.h create mode 100644 proximity/linkloss.c create mode 100644 proximity/linkloss.h -- 1.7.5.4