All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC v2 00/11] struct btd_service in core
@ 2013-04-05 11:45 Mikel Astiz
  2013-04-05 11:45 ` [RFC v2 01/11] core: Add btd_service to represent device services Mikel Astiz
                   ` (11 more replies)
  0 siblings, 12 replies; 14+ messages in thread
From: Mikel Astiz @ 2013-04-05 11:45 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Mikel Astiz

From: Mikel Astiz <mikel.astiz@bmw-carit.de>

v1 does not apply anymore so I'm sending an updated version of the patchset.

v2 is similar to the pervious version but with minor changes in patch 1 as pointed out by Johan and Anderson. Besides, patch 11 has been updated to the latest changes in profiles/audio.

>From original cover-letter:

This RFC proposes a somewhat intrusive change in the core with the adoption of struct btd_service, with the following main goals:

1. Support for multiple instances of the same UUID.
2. Better support for connection-handling plugins/components (e.g. automotive).
3. Exposure of remote services in D-Bus (not implemented here).
4. Improve code readability and reduce profile-implementation code size.

Mikel Astiz (11):
  core: Add btd_service to represent device services
  device: Use btd_service to represent profiles
  device: Replace connected_profiles with btd_service
  device: Find services instead of profiles
  device: Replace pending profile list with services
  profile: Use btd_service for probing profiles
  audio: Hold a reference to btd_service
  network: Hold a reference to btd_service
  input: Hold a reference to btd_service
  service: Add callbacks to track state changes
  profile: Use btd_service for connect/disconnect

 Makefile.am                          |   1 +
 Makefile.plugins                     |   4 +-
 profiles/audio/avrcp.c               |  16 +--
 profiles/audio/control.c             |  48 ++++++-
 profiles/audio/control.h             |  12 +-
 profiles/audio/manager.c             |  88 ++++--------
 profiles/audio/manager.h             |   9 --
 profiles/audio/sink.c                |  24 ++--
 profiles/audio/sink.h                |   4 +-
 profiles/audio/source.c              |  25 ++--
 profiles/audio/source.h              |   5 +-
 profiles/cyclingspeed/cyclingspeed.c |   9 +-
 profiles/deviceinfo/deviceinfo.c     |  11 +-
 profiles/gatt/gas.c                  |  10 +-
 profiles/health/hdp_manager.c        |  10 +-
 profiles/heartrate/heartrate.c       |  10 +-
 profiles/input/device.c              |  95 +++++++------
 profiles/input/device.h              |  13 +-
 profiles/input/hog.c                 |   8 +-
 profiles/input/manager.c             |  51 +------
 profiles/input/manager.h             |  25 ----
 profiles/network/connection.c        |  77 ++++++-----
 profiles/network/connection.h        |   8 +-
 profiles/network/manager.c           | 123 ++---------------
 profiles/network/manager.h           |  25 ----
 profiles/proximity/manager.c         |  28 ++--
 profiles/proximity/reporter.c        |   8 +-
 profiles/proximity/reporter.h        |   5 +-
 profiles/sap/manager.c               |   1 +
 profiles/scanparam/scan.c            |   9 +-
 profiles/thermometer/thermometer.c   |  11 +-
 src/device.c                         | 242 +++++++++++++++++++++-----------
 src/device.h                         |   5 -
 src/profile.c                        |  40 ++++--
 src/profile.h                        |  14 +-
 src/service.c                        | 260 +++++++++++++++++++++++++++++++++++
 src/service.h                        |  61 ++++++++
 37 files changed, 825 insertions(+), 570 deletions(-)
 delete mode 100644 profiles/input/manager.h
 delete mode 100644 profiles/network/manager.h
 create mode 100644 src/service.c
 create mode 100644 src/service.h

-- 
1.8.1.4


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2013-04-17  9:44 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-05 11:45 [RFC v2 00/11] struct btd_service in core Mikel Astiz
2013-04-05 11:45 ` [RFC v2 01/11] core: Add btd_service to represent device services Mikel Astiz
2013-04-17  9:44   ` Johan Hedberg
2013-04-05 11:45 ` [RFC v2 02/11] device: Use btd_service to represent profiles Mikel Astiz
2013-04-05 11:45 ` [RFC v2 03/11] device: Replace connected_profiles with btd_service Mikel Astiz
2013-04-05 11:45 ` [RFC v2 04/11] device: Find services instead of profiles Mikel Astiz
2013-04-05 11:45 ` [RFC v2 05/11] device: Replace pending profile list with services Mikel Astiz
2013-04-05 11:45 ` [RFC v2 06/11] profile: Use btd_service for probing profiles Mikel Astiz
2013-04-05 11:45 ` [RFC v2 07/11] audio: Hold a reference to btd_service Mikel Astiz
2013-04-05 11:45 ` [RFC v2 08/11] network: " Mikel Astiz
2013-04-05 11:45 ` [RFC v2 09/11] input: " Mikel Astiz
2013-04-05 11:45 ` [RFC v2 10/11] service: Add callbacks to track state changes Mikel Astiz
2013-04-05 11:45 ` [RFC v2 11/11] profile: Use btd_service for connect/disconnect Mikel Astiz
2013-04-17  8:22 ` [RFC v2 00/11] struct btd_service in core Mikel Astiz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.