All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bluez PATCH v2 0/2] Adding bonded flag to D-Bus property
@ 2022-04-18 17:49 Zhengping Jiang
  2022-04-18 17:49 ` [Bluez PATCH v2 1/2] device: Add "Bonded" flag to dbus property Zhengping Jiang
  2022-04-18 17:49 ` [Bluez PATCH v2 2/2] client: Add bonded-devices and show Bonded flag in info Zhengping Jiang
  0 siblings, 2 replies; 8+ messages in thread
From: Zhengping Jiang @ 2022-04-18 17:49 UTC (permalink / raw)
  To: linux-bluetooth, luiz.dentz
  Cc: chromeos-bluetooth-upstreaming, Zhengping Jiang

Currently BlueZ client can't know easily whether a device is bonded or
not. This is causing issues for a number of applications. For example,
in the Nearby Share case, the peer device is paired, but not bonded.
This series will add the "Bonded" property in org.bluez.Device1 D-Bus
interface. Changes are also made in bluetoothctl to show the status of
the bonded flag as well as a list of bonded devices.

Changes in v2:
- Move one variable declaration to the top following C90 standard

Changes in v1:
- Add "Bonded" to D-Bus interface
- Send property changed signal if the bonded flag is changed
- Show the status of the "Bonded" flag in bluetoothctl
- Add option to show list of bonded devices

Zhengping Jiang (2):
  device: Add "Bonded" flag to dbus property
  client: Add bonded-devices and show Bonded flag in info

 client/main.c      | 29 +++++++++++++++++++++++++++++
 doc/device-api.txt |  4 ++++
 src/device.c       | 40 +++++++++++++++++++++++++++++++++++-----
 3 files changed, 68 insertions(+), 5 deletions(-)

-- 
2.36.0.rc0.470.gd361397f0d-goog


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

end of thread, other threads:[~2022-05-02 21:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-18 17:49 [Bluez PATCH v2 0/2] Adding bonded flag to D-Bus property Zhengping Jiang
2022-04-18 17:49 ` [Bluez PATCH v2 1/2] device: Add "Bonded" flag to dbus property Zhengping Jiang
2022-04-18 20:42   ` Adding bonded flag to D-Bus property bluez.test.bot
2022-04-18 22:41   ` [Bluez PATCH v2 1/2] device: Add "Bonded" flag to dbus property Luiz Augusto von Dentz
2022-05-02 21:11     ` Luiz Augusto von Dentz
     [not found]       ` <CAB4PzUpJmkXsgH_w++U0i8g_YvUbmae5n37acF3=q+3P0nJX2g@mail.gmail.com>
2022-05-02 21:23         ` Luiz Augusto von Dentz
2022-04-18 17:49 ` [Bluez PATCH v2 2/2] client: Add bonded-devices and show Bonded flag in info Zhengping Jiang
2022-04-18 23:59   ` Luiz Augusto von Dentz

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.