Re: [systemd-devel] How to get array[struct type] using sd_bus_message_* API's

2021-11-19 Thread Lennart Poettering
On Fr, 19.11.21 12:31, Manojkiran Eda (manojkiran@gmail.com) wrote: > In the `busctl monitor` i could confirm that i am getting a message of > signature a{sas} from the dbus call, and here is the logic that I could > come up with to read the data. > > r =

[systemd-devel] How to get array[struct type] using sd_bus_message_* API's

2021-11-18 Thread Manojkiran Eda
Hi All, I am a beginner, trying to learn the sd_bus API's. I am trying to replicate the following busctl call to get information: $ busctl call xyz.openbmc_project.ObjectMapper /xyz/openbmc_project/object_mapper xyz.openbmc_project.ObjectMapper GetObject sas /xyz/openbmc_project/inventory 0