Hey Jessy,
>
> I am using MM in a C++ project, but my question won't be related to C++
> besides a very high level description of what I did.
>
> To get MM functions to invoke bound C++ functions as callbacks, I had to
> generate a small structure for each MM function call that automatically
>
When I wrote the previous email, I had not actually tested cancelling the
operation. Now that I have, and a few dozen core dumps later, I realized
that the libmm-glib functions will call their callback function even if
there is a cancellation, and the XXX_finish function will report that there
was
Hello Aleksander,
Thanks for the reply. You probably just saw my email I sent right before I
got your email.
I had never actually seen a memory leak. I didn't understand that the
callback would be ALWAYS called, so I assumed that there would be a leak
(mistakes made when working past midnight). C
Hey!
>
> Now I just need to understand why even when I call mm_modem_create_bearer and
> immediately cancel the GCancellable, My callback is called with the error
> "Operation was cancelled", but the bearer is still created. This is an
> unrelated issue, so I can create a new email thread on th
Thanks again for the reply.
I am aware that with a series of async calls that 'cancellation' as an idea
is questionable. What does it even mean?, etc...
Part of my confusion was running the following (to test cancellation) and
the bearer was still created.
mm_modem_create_bearer
> The real issue that is leading me through all of these tests is improving my
> understanding of lifecycles when working with async MM functions. I want to
> make sure that there is no possible scenario where I destroy one of my C++
> objects that tracks a MMModem, in the destructor I cancel an
Hi,
I'm working with a cinterion, PLS62W module and using PPP. One of the
issues I run into is that in certain scenarios, like sudden loss of
registration(due to poor signal) where MM disconnects the bearer, the
primary data port (and at port) ttyACM0 becomes unusable.
I think somehow MM and the p