No simcard

I am using the nRF9160 aws_iot sample. I was now trying somethings that are not optimal situations.

For example, I made some FIFO buffer to write in measurements in one thread and send them in another thread. Independent of connectivity the measurements will be logged. Now I tried this by taking out the simcard. After a bit it starts writing the buffer and when I put back the simcard it reconnects and starts sending his buffer.

I also tried to start up the device without a simcard and put it in later. Sometimes it will be detected, and the device starts connecting and sending data but other times it is like the simcard insertion is not detected and it keeps acting like there is no simcard present.

My question is, how can I force the device to check for a simcard or force the device to try to start up again? Or should it always come online by itself, but do you have to wait one time longer than the other time?

Related