[PATCH v4 00/10] Implement Generic battery and LE Battery client

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

 



From: Chen Ganir <chen.ganir@xxxxxx>

This patch set replaces previous patch sets which implemented the LE battery
GATT Client. This patch set implements a generic device battery D-Bus interface
that can be used to get remote device battery status using D-Bus. In addition,
This patch set also implements the GATT Battery client, which uses the generic
device battery to expose LE device battery status.

see doc/battery-api.txt and doc/device-api.txt for more information.

This is version 4 of the patch set, including multiple style and other comments
reported on the ML. This version is rebased on the latest code.

Chen Ganir (10):
  battery: Add generic device battery documentation
  battery: Implement Generic device battery
  battery: Add GATT Battery Client Service skeleton
  battery: Add client connection logic
  battery: Discover Characteristic Descriptors
  battery: Get Battery ID
  battery: Add Battery to device
  battery: Read Battery level characteristic
  battery: Add support for notifications
  battery: Support persistent battery level

 Makefile.am                |    9 +-
 doc/battery-api.txt        |   31 +++
 doc/device-api.txt         |    5 +
 lib/uuid.h                 |    3 +
 profiles/battery/battery.c |  592 ++++++++++++++++++++++++++++++++++++++++++++
 profiles/battery/battery.h |   24 ++
 profiles/battery/main.c    |   52 ++++
 profiles/battery/manager.c |   62 +++++
 profiles/battery/manager.h |   24 ++
 src/device.c               |  175 +++++++++++++
 src/device.h               |   14 ++
 test/test-device           |   13 +
 12 files changed, 1002 insertions(+), 2 deletions(-)
 create mode 100644 doc/battery-api.txt
 create mode 100644 profiles/battery/battery.c
 create mode 100644 profiles/battery/battery.h
 create mode 100644 profiles/battery/main.c
 create mode 100644 profiles/battery/manager.c
 create mode 100644 profiles/battery/manager.h

-- 
1.7.9.5

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