Re: [RFC v2 00/11] struct btd_service in core

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

 



Hi,

On Fri, Apr 5, 2013 at 1:45 PM, Mikel Astiz <mikel.astiz.oss@xxxxxxxxx> wrote:
> From: Mikel Astiz <mikel.astiz@xxxxxxxxxxxx>
>
> 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
>

Ping.

Cheers,
Mikel
--
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