Hi,
I am running an Arduino UNO with an ESP8266 WiFi Shield which I interface through the Softwareserial library.
I am currently testing the AT commands in order to really understand the communication. I therefore have a simple program for sending the Serial data to Software serial and simply print the commands on the Serial monitor.
When make a Http GET request, I get a 505-Http version not supported message. What does this mean and how I can solve this.
Thanks in advance.
M
From my Serial monitor it looks like this:
AT+CIPSTART="TCP","www.example.com",80
CONNECT
OK
AT+CIPSEND=41
OK
\n\r\n
busy s...
Recv 41 bytes
SEND OK
+IPD,549:HTTP/1.0 505 HTTP Version Not Supported
Content-Type: text/html
Content-Length: 379
Connection: close
Date: Tue, 18 Sep 2018 06:56:28 GMT
Server: ECSF (lga/137D)
505 - HTTP Version Not Supported
CLOSEDMy code looks like this:
#include <SoftwareSerial.h>
SoftwareSerial ESPserial(2, 3); // RX | TX
void setup() {
Serial.begin(9600); // communication with the host computer
// Start the software serial for communication with the ESP8266
ESPserial.begin(9600);
Serial.println("");
Serial.println("Remember to to set Both NL & CR in the serial monitor.");
Serial.println("Ready");
Serial.println("");
}
void loop() {
// listen for communication from the ESP8266 and then write it to the serial monitor
if ( ESPserial.available() ) {
Serial.write( ESPserial.read() );
}
// listen for user input and send it to the ESP8266
if ( Serial.available() ) {
ESPserial.write( Serial.read() );
}
}