diff --git a/ESP8266_TCP.cpp b/ESP8266_TCP.cpp index 88c700c..3558142 100644 --- a/ESP8266_TCP.cpp +++ b/ESP8266_TCP.cpp @@ -537,7 +537,7 @@ bool ESP8266_TCP::send(int id, String message) { if(getRunningState() == WIFI_STATE_IDLE) { debugPrintln("ID : " + String(id) + " Send : " + message); clearBuffer(); - write("AT+CIPSEND=" + String(id) + "," + String(message.length() + 1)); + write("AT+CIPSEND=" + String(id) + "," + String(message.length())); serial->print(message); flush(); debugPrintln(readData());