Hi,
I have the problem that the GSM Modem (or more likely the SIM) stalls in some low signal condition (after multiple re- logins into the Network). In follow the AT+CPIN="1234"; command cause the modem to hang and all corresponding functions (like gsm.begin ) doesn't come back and live the MKR in a uncertain condition.
If this happens (unfortunately the behaviour is not safely reproducible) even a complete power down doesn't help. What helps is to remove the SIM, put it in a different mobile phone register with this phone to the Network, deregister and put the SIM back into the MKR.
After this procedure it works again for a couple of day's until the same problem occurs.
If the SIM or the modem is in this faulty stage I can reset the MKR or load an other sketch into it and interestingly the modem itself is responsive until the next AT+CPIN="1234" command is executed and I can send AT commands e.g. using the SerialGSMpassThrue Sketch.
I already tried AT+CFUN16 to reset the SIM - unfortunately this doesn't have any success.
So I wonder what a normal mobile do to repair this condition. Does anyone here know a trick how to do a deep reset of the SIM card or how to bring the complete System (SIM+Modem) into a factory condition?
AT&F or ATZ doesn't work here...
THX Ellis