Exporting an Interface

Florence Chan florencewchan at google.com
Mon Nov 29 18:56:35 UTC 2021

Hey again Aleksander!

I have another question regarding my SIM-EAP interface. Testing has been
going well however I noticed one of the methods of my interface has an
invalid address (i.e. either (nil) or 0x2) despite having implementation. I
noticed I'm getting this warning which may be responsible for this bug:
(ModemManager:4486): GLib-GObject-WARNING **: 17:07:38.068: invalid cast
from 'MMSimMbim' to 'MMIfaceSimEap'

I was wondering if you would know if there is anything else involved in
providing a valid cast from these two, other than what I have here (in

Thank you!
- Florence

On Sun, Nov 14, 2021 at 9:14 AM Aleksander Morgado <aleksander at aleksander.es>

> Hey!
> >
> > I was able to find the problem! It turns out I was silly and forgot to
> set GError* error = NULL initially. 😅
> >
> > Thanks for all the help and explanation :)
> Ah! that was an easy fix then :)
> --
> Aleksander
> https://aleksander.es
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20211129/996cf752/attachment.htm>

More information about the ModemManager-devel mailing list