diff --git a/src/TinyGsmClientESP8266.h b/src/TinyGsmClientESP8266.h index 72e430a..3330e32 100644 --- a/src/TinyGsmClientESP8266.h +++ b/src/TinyGsmClientESP8266.h @@ -225,7 +225,7 @@ public: } void setBaud(unsigned long baud) { - sendAT(GF("+IPR="), baud); + sendAT(GF("+UART_CUR="), baud, "8,1,0,0"); } bool testAT(unsigned long timeout = 10000L) {