On Mon, May 15, 2017 at 2:57 PM, Carlo Lobrano <c.lobr...@gmail.com> wrote: >> Hum... not sure this approach is the correct one. If you store the >> GSimpleAsyncResult and not complete it the whole logic in the >> MMIfaceModem will get stuck until it is completed afterwards. > > Ok, the approach might still be wrong (and even more wrong :D), but I only > save the GSimpleAsyncResult for later, I do not stop the call, which is > completed with the usual error messages. >
Not sure I understand; how does the call complete if the GSimpleAsyncResult isn't completed? > I'm gonna develop this idea further, since I really like to have something > generic and applicable also to other commands that return with SIM Busy > error. > Yes, something generic would be definitely a great thing. -- Aleksander https://aleksander.es _______________________________________________ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel