Skip to content

Adding bonded flag to D-Bus property

Zhengping Jiang linux-bluetooth 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 6 repliesIn review
  2. v22 patches 5 repliesSuperseded
  3. v12 patches 1 replySuperseded

Changes in v3 from the cover letter

- Move documentation update to a separate patch
- Add description to bonded and paired
- Add an optional argument to the devices command to filter device list
- Remove paired-devices command

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3device: Add "Bonded" flag to dbus propertysrc/device.c+33 -51 reply
2/3doc: add "Bonded" flag to dbus propertydoc/device-api.txt+11 -13 replies
3/3client: Add filter to devices and show Bonded in infoclient/main.c+47 -250 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchSonny SasakaYun-Hao Chung
1/3R-b R-b
2/3R-b R-b
3/3R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [Bluez PATCH v3 0/3] Adding bonded flag to D-Bus property

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 v3:
- Move documentation update to a separate patch
- Add description to bonded and paired
- Add an optional argument to the devices command to filter device list
- Remove paired-devices command

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 (3):
device: Add "Bonded" flag to dbus property
doc: add "Bonded" flag to dbus property
client: Add filter to devices and show Bonded in info

 client/main.c      | 72 ++++++++++++++++++++++++++++++----------------
 doc/device-api.txt | 12 +++++++-
 src/device.c       | 38 ++++++++++++++++++++----
 3 files changed, 91 insertions(+), 31 deletions(-)
Signature · 1 line
2.36.0.464.gb9c8b46e94-goog