Open ifazk opened 1 month ago
Hi!
Signals are working, but they do require a little more work than that example. This example just sends out a signal (as the monitor shows) but it does not set up any match rules to receive signals.
See here: https://dbus.freedesktop.org/doc/dbus-specification.html the section for match rules
This example is able to receive messages that are directed at its unique bus name (which it conveniently prints out ;)) with e.g. dbus-send
Note that this crate is meant to be relatively low level to allow for a lot of flexibility and careful resource management but it is not the most convenient crate out there
That helped a lot. Can you add the needed rustbus::standard_messages::add_match("type='signal'")
to the signal example in the README?
That's probably a good idea
Hi,
What's the status of the project? Are signals working?
I have been trying to use the project, but I've been running into issues with signals. Do signals work? I couldn't even get the basic example to work:
Simply returns:
But
dbus-monitor
shows the signal: