Re: [systemd-devel] libsystemd/sd_bus: trouble understanding how to parse complex responses

2020-09-28 Thread Sergey Jin' Bostandzhyan
Hi Lennart, sorry for the late reaction, thanks to your help (especially the busctl monitor hint) I was able to figure out what was going on. On Wed, Sep 09, 2020 at 06:31:26PM +0200, Lennart Poettering wrote: [...] > > At this point I am not sure if sd_bus actually behaves correctly and > >

Re: [systemd-devel] libsystemd/sd_bus: trouble understanding how to parse complex responses

2020-09-08 Thread Sergey 'Jin' Bostandzhyan
Hi Lennart, On Tue, Sep 08, 2020 at 03:58:34PM +0200, Lennart Poettering wrote: > > Service /org/freedesktop/ModemManager1: > > Failed to introspect object / of service /org/freedesktop/ModemManager1: > > Invali argument > > No objects discovered. > > > > The tree looks fine, the error message

[systemd-devel] libsystemd/sd_bus: trouble understanding how to parse complex responses

2020-09-07 Thread Sergey 'Jin' Bostandzhyan
Hi, I have spent quite some time on this, but I don't seem to be getting anywhere, so I hope someone could point me in the right direction. I am learning sd_bus, my goal is to get a list of available modem services from ModemManager. To make sure that what I am looking for is actually there, I