Hi Enrico, Thanks for your reply. I hope I will be able to finish my code by the end of this week. I will send a link to the repo in the mailing-list then, so that you take a look at the code.
Cheers, Andrea On 5/8/19 7:25 PM, Enrico Mioso wrote: > Hello Andrea, > hello all!! > Andrea, can you explain me how you arrived to that code? I am curioust > to learn!! And understand. So I would appreciate some explanations. > > I did the same this way: > ... > mmobject = agh_mm_get_mmobject(mstate, modem); > ... > messaging = mm_object_get_modem_messaging(mmobject); > ... > > signal_id = g_signal_connect(messaging, "added", > G_CALLBACK(agh_mm_modem_sms_added), mstate); > > ... > but then I faced your same issue. > BTW, due to the "marshaller" used in this case, I am not able to pass > user data (e.g.: mstate). > Is there a way around this? > May we change the marshaller used in MM? > > thank you all!! > > Enrico _______________________________________________ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel