dasbus-project / dasbus

DBus library in Python 3
https://dasbus.readthedocs.io
GNU Lesser General Public License v2.1
100 stars 19 forks source link

Support for file descriptor passing #65

Closed dogtopus closed 1 year ago

dogtopus commented 3 years ago

I'm looking into adding support for the "new" dbus API in PyBluez. In order to initiate a incoming connection with BlueZ's Profile interface, BlueZ accepts the connection and passes the socket as a file descriptor with the NewConnection call. However this is not currently supported in dasbus.

Are there any plans to support file descriptor passing?

poncovka commented 3 years ago

Hi, it is definitely doable, but so far no one requested it. I will put it on my todo list, but this one can be tricky, so it can take some time.

dogtopus commented 2 years ago

Any updates?

poncovka commented 1 year ago

The support for Unix file descriptors was released in dasbus-1.7. There is an example in the documentation.