I am testing the Asset_tracker_v2 application on thingy-91. I took the SIM card out so the device goes into the boot loop.
The on_state_init () function has the condition MODEM_EVT_ERROR which happens here. As a result, a reboot is performed.
The question is how do I know that now the SIM card is missing?
Can I check based on sim-id (iccid)? That is zero in this situation.
Best Regards
-Alpo