From 4b0b4cb38adca24e16b80ede51f6fded6033df78 Mon Sep 17 00:00:00 2001 From: Sara Damiano Date: Thu, 5 Sep 2019 14:02:21 -0400 Subject: [PATCH] Fix SARA R4 PDP deactivate --- src/TinyGsmClientSaraR4.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TinyGsmClientSaraR4.h b/src/TinyGsmClientSaraR4.h index 6044713..62349ca 100644 --- a/src/TinyGsmClientSaraR4.h +++ b/src/TinyGsmClientSaraR4.h @@ -411,7 +411,7 @@ TINY_GSM_MODEM_WAIT_FOR_NETWORK() } bool gprsDisconnect() { - sendAT(GF("+CGACT=1,0")); // Deactivate PDP context 1 + sendAT(GF("+CGACT=0,1")); // Deactivate PDP context 1 if (waitResponse(40000L) != 1) { return false; }