I am using M2M sim card enabled device with SIM800C for one of my applications. Whenever network / TCP/Web-socket gets disconnected, it typically reconnects within 1 minute. However, sometimes it takes upto 30-40 minutes. I am not quite able to understand the reason for it.
Here’s the logic flow diagram for the same
Am I doing something wrong here, or is there any corner case? I am quite sure that the network is present when the outage happens, since the log of the points (which come to my server post connection is re-established) indicate the signal strength (AT+CSQ) to be more than 10-15 most of the times.