<div dir="ltr"><div dir="ltr">Hey Armand,</div><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div><br></div><div>Find attached a .zip with 4 logs files:</div><div><ul><li><b>mmlogs_P2.log</b>: is the ModemManager logs for one of the boards (board P2)</li><li><b>nmlogs_P2.log</b>: is the NetworkManager logs for the board P2 (board P2)</li><li><b>mmlogs_P4.log</b>: 

is the ModemManager logs for the other board (board P4)  </li><li><b>nmlogs_P4.log</b>: is the NetworkManager logs for the board P4 (board P4)</li></ul><div>For both of the boards we have reproduced the same scenario in paral·lel with the same enabling/disabling SIM times.</div></div><div><br></div><div>The logs start Monday March 11th, at around 2:29 PM UTC for both boards. At this point, SIMs are enabled, and get connected.</div><div>Then, aproximetly 3-4 min later, at 2:32 PM UTC, both SIMs are disabled remotly:</div><div><ul><li>For board P4, the epoch where the state changed is [1710171130.242576] [modem0] state changed (connected -> registered)</li><li>For board P2, the epoch where the state changed is [1710171121.444769] [modem0] state changed (connected -> registered)</li></ul><div>The SIMs are now disabled for an entire day. This is now March 12th, at around 8:06 AM UTC. We enable both SIMs. </div></div><div>In the logs, nothing changes. We leave it be for around 3 more hours to see if at some point it is reconnected, but nothing changes.</div><div><br></div></div></div></blockquote><div><br></div><div>The modem is initially registered and connected with the Movistar network (21407). When the EMnify SIM card is disabled, we get kicked out of the network and eventually fully unregistered (registration_reject_cause = 'no-suitable-cells-in-location-area'). This process looks good enough to me.</div><div><br></div><div>When the SIM card is enabled again, there is obviously no way to ask the modem to explicitly start a new registration with the Movistar network. We need to fully rely on the modem's own network search and selection logic. The problem here is that the modem ends up trying to register with *other* networks, and eventually it ends up registered with "limited" capabilities (e.g. for emergency services only) with Vodafone (21401).</div><div><br></div><div>I don't have the 3GPP knowledge about this at hand, but I'd guess that no-suitable-cells-in-location-area instructs the modem not to attempt registering with the network any more.</div><div><br></div><div>Can you try to repeat the test, but once re-enabling the SIM card, run an airplane mode cycle through NetworkManager, e.g. "nmcli radio wwan off", wait some seconds and "nmcli radio wwan on". That should put the modem in low power mode and then back on again, and it should very likely reset any network-specific state that was cached in the previous run.</div></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Aleksander</div></div></div></div>