Skip to content

Add Property Changed callbacks to btd_device

[email protected] linux-bluetooth 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Add property changed callbacksrc/device.c src/device.h+51 -00 replies
2/4Centralize property changed eventssrc/device.c+47 -350 replies
3/4Use macros instead of stringssrc/device.c src/device.h+84 -300 replies
4/4Call registered callbackssrc/device.c src/device.h+130 -10 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/4] Add Property Changed callbacks to btd_device

From: Chen Ganir <[email protected]>

Add a callback mechanism for the btd_device, allowing other parts of the bluez stack to receive notifications for device properties which are changed. This mechanism is based on the D-BUS API for Device PropertyChanged.

Chen Ganir (4):
Add property changed callback
Centralize property changed events
Use macros instead of strings
Call registered callbacks

 src/device.c |  223 +++++++++++++++++++++++++++++++++++++++++++++++++---------
 src/device.h |   93 ++++++++++++++++++++++++
 2 files changed, 281 insertions(+), 35 deletions(-)
Signature · 1 line
1.7.4.1