From 8eac98b19a9b14d2601d7cb157071a321287b3c6 Mon Sep 17 00:00:00 2001 From: aarora91 Date: Sat, 2 May 2020 17:58:16 -0400 Subject: [PATCH] Remove extra space in AT command invocation. --- esp_AT_http.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esp_AT_http.ino b/esp_AT_http.ino index 17e5bea..c1a784a 100644 --- a/esp_AT_http.ino +++ b/esp_AT_http.ino @@ -50,7 +50,7 @@ void loop() { Serial.println("*****************************************************"); Serial.println("********** Open TCP connection "); sendATcmd("AT+CIPMUX=1", 10, "OK"); - sendATcmd("AT+CIPSTART=0, \"TCP\",\"" + host +"\"," + port, 20, "OK"); + sendATcmd("AT+CIPSTART=0,\"TCP\",\"" + host +"\"," + port, 20, "OK"); sendATcmd("AT+CIPSEND=0," + String(url.length() + 4), 10, ">"); Serial.print("********** requesting URL: ");