Hi,
I have noticed some strange issues with the modem part while developing. Sometimes the Modem is not connecting to network anymore. Our code has a loop that uses
lte_lc_offline(); and after this lte_lc_connect_async(); if no network reconnect is working. this normally fixes all reconnect issures but sometimes the modem is locked. restart, reflash, does not help. switch to AT Client also does not connect, it only joins the cell but not connect to any IP or APN.
what is the solution for now is %XFACTORYRESET=0. If we run this before init and connect lte everything works again.
So we could run this on every boot but from my feeling its not a good idea because it also resets the MEMORY of modem also? Maybe we can find a better solution here.
thanks and best regards
Daniel
Some Data:
SDK 1.8.0
SIM: 1nce
Device: NRF9160 B1 (nbiot only)