Problem with GSM 900A

Hi, Device getting disconnected from thinger after 1 hr of connection, connected via GSM module. After resetting the device it is getting reconnected. In serial monitor i am getting out of stock error. How to solve the issue.

Hi,

I don’t know if this is going to work, it works for me with wifi,
You need to stop calling for a moment (I do for about 10 seconds)

thinger.handle();

And call

thinger.stop();

This stops thinger process and even turn off wifi (for 10 second by my particular case), and reconnects every desired time that I establish (I do every 10 minutes).

I dont know if there may be a limitation by the GSM operator, that does not allows more than 60 minutes of concurrent connection, so when it kicks your device, I dont know if it is able to reconnect (this is related with library programming), with this routine “maybe” you can reset this counter every time lapse you desire and avoid get kicked by this condition.

Hope this helps and let me know how it goes