Skip to content

struct btd_service in core

Mikel Astiz linux-bluetooth 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest3 patches 1 replyIn review
  2. v43 patches 1 replySuperseded
  3. v327 patches 2 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v2 RFC11 patches2 repliesSuperseded
v1 RFC11 patches2 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3service: Add error-code btd_servicesrc/service.c src/service.h+8 -00 replies
2/3service: Add callbacks to track state changessrc/service.c src/service.h+55 -00 replies
3/3profile: Use btd_service for connect/disconnectMakefile.plugins profiles/audio/control.c profiles/audio/manager.c +16 more+108 -2890 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [PATCH BlueZ v5 0/3] struct btd_service in core

From: Mikel Astiz <[email protected]>

v5 updated as suggested by Johan:
- Fixed memory leak in v4 2/3.
- Static variables initialized.
- Avoid dependencies to GLib types.

Mikel Astiz (3):
service: Add error-code btd_service
service: Add callbacks to track state changes
profile: Use btd_service for connect/disconnect

 Makefile.plugins              |  4 +--
 profiles/audio/control.c      | 20 +++--------
 profiles/audio/manager.c      | 44 +++++++-----------------
 profiles/audio/manager.h      |  5 ---
 profiles/audio/sink.c         | 18 +++++-----
 profiles/audio/source.c       | 18 +++++-----
 profiles/input/device.c       | 21 +++++-------
 profiles/input/device.h       |  5 ++-
 profiles/input/manager.c      | 11 ------
 profiles/input/manager.h      | 25 --------------
 profiles/network/connection.c | 39 ++++++---------------
 profiles/network/connection.h |  4 +--
 profiles/network/manager.c    | 79 ++++---------------------------------------
 profiles/network/manager.h    | 25 --------------
 src/device.c                  | 33 +++++++++++-------
 src/device.h                  |  7 ----
 src/profile.c                 | 29 ++++++++++------
 src/profile.h                 |  6 ++--
 src/service.c                 | 58 +++++++++++++++++++++++++++++--
 src/service.h                 |  9 +++++
 20 files changed, 171 insertions(+), 289 deletions(-)
 delete mode 100644 profiles/input/manager.h
 delete mode 100644 profiles/network/manager.h
Signature · 1 line
1.8.1.4