Thread (11 messages) flat view 11 messages, 1 author, 2012-08-15

Re: [PATCH v3 0/9] Add GATT Client Battery Service

From: Chen Ganir <hidden>
Date: 2012-08-15 13:50:09

Ping ?

On 08/08/2012 05:26 PM, chen.ganir@ti.com wrote:
From: Chen Ganir <redacted>

Add suupport for LE GATT Client Battery Service.

This plugin adds battery list to the btd_device, exposes DBUS API to list the
device batteries, and allows querying for battery information. In addition this
patch allows getting notifications for battery level changes.

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

This is version 3 of this patch set, rebased on top of the latest sources and
fixes issues reported on the ML.

Chen Ganir (9):
   Battery: Add Battery Service GATT Client
   Battery: Add connection logic
   Battery: Discover Characteristic Descriptors
   Battery: Get Battery ID
   Battery: Add Battery list to btd_device
   Battery: Add Battery D-BUS API
   Battery: Read Battery level characteristic
   Battery: Add support for notifications
   Battery: Emit property changed on first read

  Makefile.am                |   10 +-
  doc/battery-api.txt        |   38 ++++
  doc/device-api.txt         |    5 +
  profiles/battery/battery.c |  536 ++++++++++++++++++++++++++++++++++++++++++++
  profiles/battery/battery.h |   26 +++
  profiles/battery/main.c    |   67 ++++++
  profiles/battery/manager.c |   71 ++++++
  profiles/battery/manager.h |   24 ++
  src/device.c               |   65 ++++++
  src/device.h               |    3 +
  10 files changed, 843 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

-- 
BR,
Chen Ganir

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help