Freeze during put request

Thank you all for advice.

Unfortunately, none of the solutions tried is working :

  • use of tinyGSM resulted in 5 freeze during a 2 mont test in a remote location

  • Riccardo_Rizzo : I have tried your code but it still freeze if I emulate a network glitch by removing and then putting pack the antenna (see attached pic)

  • I have tried code from SORACOM team
    GitHub - alexissusset/soracom-mkrgsm1400: Soracom Air and Harvest services with Arduino MKR GSM 1400 project example
    --> freeze after few iteration

  • I have tried code form francmunoz
    GitHub - FrancMunoz/MKRGSM
    who forked mkrgsm library to patch delay issue with SARA and programmed an asynchronous connection exemple. The board does not freeze anymore , BUT sometimes gsm.begin() gets stuck and the board is unable to reconnect to GSM (even though other functionnalities in the loop are still running)

It is unfortunate that an arduino board necessitates advanced low level programming skill to establish a simple GPRS connection without a glitch ...

freeze
froze
frozen ...