Interfacing dbus in a component

Hi,

I’m currently working on some part of Bluetooth configuration, planning to implement Bluetooth Mesh support, as soon as it is implemented in BTStack (Bluetooth stack I use for the ESP32 platform).

My question is regarding the interfacing with Python and the dbus:

-) I can read properties
-) BUT: no way to receive any signals coming from DBus. No exception raised, simply nothing happens:

bus = dbus.SystemBus()
signal_object = bus.get_object('org.bluez','/')
signal_iface = dbus.Interface(signal_object,'org.freedesktop.DBus.ObjectManager')
signal_iface.connect_to_signal("InterfacesAdded",interfaces_added)

According to dbus tutorial, an event loop is needed to receive signals.
I ran this snippet with and without following command, no difference (but also no exception)
DBusGMainLoop(set_as_default=True)

Is there any advice?

Thanks for this software, if the build system is running, it’s really nice to develop :slight_smile: