<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hey guys,</div>
<div> </div>
<div>ModemManager and the libraries libqmi, libmbim and so on can throw a lot different error messages. I wanna know, is there any list of suggested actions or detailed descriptions for each possible message?</div>
<div> </div>
<div>Just one example: As a test I removed the SIM-card of an already connected modem to simulate a broken SIM-chip - why ever this may happen but I had this in the past. The modem status felt back from "connected" to "enabled" so my script wanted to instruct the ModemManager via mmcli to register to the provider. The MM answered with the QMI-error code UimUnintialized. So if I get this error I can communicate to the user "Please check your SIM-card". I see the following possible situations and actions that should happen / be done after error codes.</div>
<div> </div>
<div>Provider (or just the internet access) not available -> please wait or change location and try again</div>
<div>Problem with the SIM (locked by provider, broken) -> please ask the provider to change the SIM-card (or pay the bill or whatever)</div>
<div>Hardware-Problem with the modem -> ask to support of the manufacturer</div>
<div>Wrong entered PIN (of course)</div>
<div>Wrong APN settings (is it possible?)</div>
<div>Software-Problem -> Maybe software developer should check kernel, libs oder MM for updates</div>
<div> </div>
<div>Maybe some error codes can have different reasons, that would be okay, I think I can live with that.</div>
<div> </div>
<div>Kind regards,</div>
<div> </div>
<div>Andreas</div></div></body></html>