mbox series

[BlueZ,0/2] adapter: Add (readwrite) Connectable property.

Message ID 20240911145114.103340-1-vibhavp@gmail.com
Headers show
Series adapter: Add (readwrite) Connectable property. | expand

Message

Vibhav Pant Sept. 11, 2024, 2:51 p.m. UTC
Hi,

This series adds the "Connectable" property to Adapter objects in BlueZ. This
property is needed in order to implement the corresponding functionality for
Wine[1][2]. However, to not break current behaviour, enabling Discoverable while
Connectable is false will not result in an error.

[1]: https://learn.microsoft.com/en-us/windows/win32/api/bluetoothapis/nf-bluetoothapis-bluetoothenableincomingconnections
[2]: https://learn.microsoft.com/en-us/windows/win32/api/bluetoothapis/nf-bluetoothapis-bluetoothisconnectable

Vibhav Pant (2):
  adapter: Add support for the Connectable property.
  org.bluez.Adapter: Add documentation for the Connectable property.

 doc/org.bluez.Adapter.rst | 13 +++++++++++++
 src/adapter.c             | 25 +++++++++++++++++++++++++
 2 files changed, 38 insertions(+)