Browse Source

Increased wait time for the "send ok" after sending data on ESP8266

v_master
SRGDamia1 7 years ago
parent
commit
327c500b3e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/TinyGsmClientESP8266.h

+ 1
- 1
src/TinyGsmClientESP8266.h View File

@ -371,7 +371,7 @@ protected:
}
stream.write((uint8_t*)buff, len);
stream.flush();
if (waitResponse(GF(GSM_NL "SEND OK" GSM_NL)) != 1) {
if (waitResponse(10000L, GF(GSM_NL "SEND OK" GSM_NL)) != 1) {
return -1;
}
return len;


Loading…
Cancel
Save