Browse Source

Don't disconnect immediately before connect

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

+ 1
- 1
src/TinyGsmClientSaraR4.h View File

@ -381,7 +381,7 @@ TINY_GSM_MODEM_WAIT_FOR_NETWORK()
*/
bool gprsConnect(const char* apn, const char* user = NULL, const char* pwd = NULL) {
gprsDisconnect();
// gprsDisconnect();
sendAT(GF("+CGATT=1")); // attach to GPRS
if (waitResponse(360000L) != 1) {


Loading…
Cancel
Save