Question about resetting ModemManager SIM data.

Troels Olesen to at movis.dk
Wed Jan 6 06:03:35 PST 2016


Hi ModemManager developers.

My situation is this. I have a Sierra MC7710 Modem,
that is connected to a external SIM card switcher.

I can switch the SIM card when the modem is in low-power state.
But when i return the modem to high-power state after the switch,
the SIM data stored by ModemManager is not changed.

Is there some way i can force an reinitialization of the SIM card data?

I have looked at the ModemManager code, and found,
that a modified version of the function "mm_iface_modem_initialize" in 
"mm-iface-modem.c",
might be able to reset the SIM object data, and force a reinitialization.

But figuring out how to do this has eluded me.
Maybe from the function "modem_after_power_up_ready".

I would appreciate your input, about what you would consider best practice.
And if there already exists a way to force a reinitialization of the 
stored SIM data.
And more important without rebooting the modem hardware.

Thanks in advance for any help you can give me.

Kind Regards,
Troels Olesen


More information about the ModemManager-devel mailing list