Re: Get the last SMS from mm_modem_messaging_list

2019-05-16 Thread Andrea Schäfer
Hi Enrico, hi all, Here is the link to the SMS plugin for libpurple, that I have reworked by replacing g_dbus_proxy calls with libmm-glib functions: https://source.puri.sm/Librem5/purple-mm-sms Any comments and suggestions regarding the code are appreciated. In order to receive SMS properly, th

Re: Get the last SMS from mm_modem_messaging_list

2019-05-08 Thread Andrea Schäfer
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 yo

Re: Get the last SMS from mm_modem_messaging_list

2019-05-08 Thread Andrea Schäfer
Hi Aleksander, I have build the MR102, with your fix the problem is solved :) Thanks a lot for looking into this so swiftly. Cheers, Andrea On 5/8/19 8:27 PM, Aleksander Morgado wrote: > Hey, > >> >> I have some trouble with pulling a received SMS from the ModemManager >> messaging-list. Rou

Re: Get the last SMS from mm_modem_messaging_list

2019-05-08 Thread Aleksander Morgado
Hey, > > I have some trouble with pulling a received SMS from the ModemManager > messaging-list. Roughly described I'm doing things like so: > > gdbus_sms = MM_GDBUS_MODEM_MESSAGING(mm_sms->modem_messaging); > g_signal_connect (gdbus_sms, "added", > G_CALLBACK (cb_dbus_sign

Re: Get the last SMS from mm_modem_messaging_list

2019-05-08 Thread Enrico Mioso
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)

Get the last SMS from mm_modem_messaging_list

2019-05-08 Thread Andrea Schäfer
Hi all, I have some trouble with pulling a received SMS from the ModemManager messaging-list. Roughly described I'm doing things like so: gdbus_sms = MM_GDBUS_MODEM_MESSAGING(mm_sms->modem_messaging); g_signal_connect (gdbus_sms, "added", G_CALLBACK (cb_dbus_signal_sms_a