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. 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_added), >> NULL); >> >> In 'cb_dbus_signal_sms_added' I call 'mm_modem_messaging_list', and in >> its '(GAsyncReadyCallback)list_ready_cb' I iterate through the GList >> that I get with 'mm_modem_messaging_list_finish'. But the last received >> SMS isn't in the list then. The SMS is included in the list when the >> next SMS is received, so the list content always lags one behind in this >> phase. >> >> Do I miss a step in the sequence, or could it be a timing issue? >> > > Any chance you can retry with the fix in the following MR? > https://gitlab.freedesktop.org/mobile-broadband/ModemManager/merge_requests/102 > _______________________________________________ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel