Browse Source

Fix SARA R4 PDP deactivate

v_master
Sara Damiano 5 years ago
parent
commit
4b0b4cb38a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/TinyGsmClientSaraR4.h

+ 1
- 1
src/TinyGsmClientSaraR4.h View File

@ -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;
}


Loading…
Cancel
Save