Re: [systemd-devel] Callback isn't called when using sd_bus_add_match

2016-05-04 Thread Lennart Poettering
On Wed, 04.05.16 12:56, Ben-melech, Shiran (shiran.ben-mel...@intel.com) wrote: > Hi, > > I'm currently developing a little library using sd-bus to work with bluez. > I'm trying to catch signals sent over the bus using sd_bus_add_match (see > code below) > But the callback does not seem to be tr

[systemd-devel] Callback isn't called when using sd_bus_add_match

2016-05-04 Thread Ben-melech, Shiran
Hi, I'm currently developing a little library using sd-bus to work with bluez. I'm trying to catch signals sent over the bus using sd_bus_add_match (see code below) But the callback does not seem to be triggered. I'm opening the bus using: /* Connect to the system bus */ r = sd_b