Re: Exporting an Interface

2021-11-30 Thread Aleksander Morgado
Hey, > I have another question regarding my SIM-EAP interface. Testing has been > going well however I noticed one of the methods of my interface has an > invalid address (i.e. either (nil) or 0x2) despite having implementation. I > noticed I'm getting this warning which may be responsible for

Re: Exporting an Interface

2021-11-14 Thread Aleksander Morgado
Hey! > > I was able to find the problem! It turns out I was silly and forgot to set > GError* error = NULL initially. 😅 > > Thanks for all the help and explanation :) Ah! that was an easy fix then :) -- Aleksander https://aleksander.es

Re: Exporting an Interface

2021-11-12 Thread Aleksander Morgado
Hey Florence, > > Ah, I see, thanks for the explanation! However the command below still > returns FALSE for me unfortunately... > g_dbus_interface_skeleton_export (G_DBUS_INTERFACE_SKELETON (skeleton), >connection, >path, >

Re: Exporting an Interface

2021-11-11 Thread Aleksander Morgado
Hey, > >> Is that "self" in the g_object_get() the same as in the >> g_dbus_interface_skeleton_export()? > > > Yes, self refers to a a MMIfaceSimEap *. I have a MMsameGdbusSimEap* created > by the command mm_gdbus_sim_eap_skeleton_new (). However is that not > different from the GDBusInterfaceSk

Re: Exporting an Interface

2021-11-11 Thread Aleksander Morgado
Hey Florence, > Previously you mentioned the g_dbus_interface_skeleton_export() method to > export my SIM interface, which I've been attempting to use. However I've been > running with some issues with it. Currently I call this in my > mm_iface_sim_eap_initialize method, like so: > g_dbus_inter

Re: Exporting an Interface

2021-10-13 Thread Aleksander Morgado
Hey Florence! > > I've been creating a DBus interface for the MM SIM object and I have been > having issues specifically when it comes to exporting the interface. From the > examples in other files it looks like there is a > "mm_gdbus_object_skeleton_set_modem_*" generated export function that

Exporting an Interface

2021-10-13 Thread Florence Chan
Hello there! I've been creating a DBus interface for the MM SIM object and I have been having issues specifically when it comes to exporting the interface. From the examples in other files it looks like there is a "mm_gdbus_object_skeleton_set_modem_*" generated export function that corresponds wi