Open wlueger opened 1 year ago
Does it work if you dont gprsDisconnect? Have you tried to initalize the modem again if not connecting after a gprsDisconnect?
// Restart takes quite some time, to skip it, call init() instead of restart()
DBG("Initializing modem...");
if (!modem.init()) {
DBG("Failed to restart modem, delaying 10's and retrying");
}
Hello!
Thanks for the great library first of all!
[x] I have read the Troubleshooting section of the ReadMe
What type of issues is this?
[ ] Request to support a new module
[ ] Bug or problem compiling the library [x] Bug or issue with library functionality (ie, sending data over TCP/IP) [ ] Question or request for help
What are you working with?
Modem: SIM7080g Main processor board: ESP32 C3, devboard TinyGSM version: 0.11.5
Scenario, steps to reproduce
I am transfering measurements over mqtt to our server. To reduce power-consumption, i need a mode where i turn of connection: gprsDisconnect, between sendings. This works, but e.g. when i send every minute (reconnect every minute), it is that every 30 minutes (aprox.) gprsConnect fails. Then i restart the modem (which takes time) and it works again for 30 min. It seems that something is "stacking" until it fails. It would be great if i could "clear" this "stack" manually, because so it takes too long, with the reset of the modem!
Expected result
No failing of connection (gprsConnect) every 30 min.
Debug and AT command log
there is nothing abnormal from the Tiny-Log at all!
Thanks in advance, Cheers, W.