diff --git a/src/Arduino_GSMConnectionHandler.cpp b/src/Arduino_GSMConnectionHandler.cpp index fd65ba9c..3bf8b908 100644 --- a/src/Arduino_GSMConnectionHandler.cpp +++ b/src/Arduino_GSMConnectionHandler.cpp @@ -28,6 +28,7 @@ ******************************************************************************/ static int const GSM_TIMEOUT = 30000; +static int const GPRS_TIMEOUT = 30000; /****************************************************************************** FUNCTION DEFINITION @@ -82,6 +83,7 @@ NetworkConnectionState GSMConnectionHandler::update_handleInit() Debug.print(DBG_INFO, F("SIM card ok")); _gsm.setTimeout(GSM_TIMEOUT); + _gprs.setTimeout(GPRS_TIMEOUT); mkr_gsm_feed_watchdog();