Get the last SMS from mm_modem_messaging_list
andrea.schaefer at puri.sm
Thu May 16 13:06:33 UTC 2019
Here is the link to the SMS plugin for libpurple, that I have reworked
by replacing g_dbus_proxy calls with libmm-glib functions:
Any comments and suggestions regarding the code are appreciated.
In order to receive SMS properly, the following ModemManager fix is needed:
On 5/8/19 9:27 PM, Andrea Schäfer wrote:
> 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.
> 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!!
> ModemManager-devel mailing list
> ModemManager-devel at lists.freedesktop.org
More information about the ModemManager-devel