linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [bluez PATCH v1 0/3] Emit InterfacesAdded/InterfacesRemoved at correct root path
@ 2020-12-02  1:19 Manish Mandlik
  2020-12-02  1:19 ` [bluez PATCH v1 1/3] adv_monitor: Register client app with app-base-path Manish Mandlik
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Manish Mandlik @ 2020-12-02  1:19 UTC (permalink / raw)
  To: marcel, luiz.dentz
  Cc: linux-bluetooth, chromeos-bluetooth-upstreaming, Manish Mandlik

Hello Maintainers,

Existing advertisement monitor implementation registers client app with
bluez-root-path i.e. "/". Because of which client app needs to emit
InterfacesAdded and InterfacesRemoved signals - when monitor objects are
added or removed - at the bluez-root-path.

This may cause confusion for application developers as the app need to
register with bluez with app-root-path for exposing monitor object, but
need to emit InterfacesAdded and InterfacesRemoved signals on the
bluez-root-path.

This patch series fixes advertisement monitor implementation to register
client with client specified app-root-path. Also, adds support in gdbus
library to emit signals at the app-root-path so that bluetoothctl can
emit InterfacesAdded/InterfacesRemoved signals correctly when adv-
monitors are created.

These changes are verified by running the bluetoothctl as well as the
python tester app and verifying that the monitor objects are getting
exposed and DeviceFound/DeviceLost events are getting invoked correctly.

Regards,
Manish.


Manish Mandlik (3):
  adv_monitor: Register client app with app-base-path
  gdbus: Emit InterfacesAdded/Removed at app root path
  client: Fix add advertisement monitor

 client/adv_monitor.c |  3 ++-
 gdbus/gdbus.h        | 15 +++++++++++++++
 gdbus/object.c       | 39 ++++++++++++++++++++++++++++++---------
 src/adv_monitor.c    |  2 +-
 4 files changed, 48 insertions(+), 11 deletions(-)

-- 
2.29.2.454.gaff20da3a2-goog


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

end of thread, other threads:[~2020-12-03  1:11 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-02  1:19 [bluez PATCH v1 0/3] Emit InterfacesAdded/InterfacesRemoved at correct root path Manish Mandlik
2020-12-02  1:19 ` [bluez PATCH v1 1/3] adv_monitor: Register client app with app-base-path Manish Mandlik
2020-12-02  1:48   ` Emit InterfacesAdded/InterfacesRemoved at correct root path bluez.test.bot
2020-12-02  1:19 ` [bluez PATCH v1 2/3] gdbus: Emit InterfacesAdded/Removed at app " Manish Mandlik
2020-12-02 17:46   ` Luiz Augusto von Dentz
2020-12-02 18:58     ` Sonny Sasaka
2020-12-02 19:50       ` Luiz Augusto von Dentz
2020-12-02 23:27         ` Sonny Sasaka
2020-12-03  1:10           ` Luiz Augusto von Dentz
2020-12-02  1:19 ` [bluez PATCH v1 3/3] client: Fix add advertisement monitor Manish Mandlik
2020-12-02 17:48   ` Luiz Augusto von Dentz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).