anyway, I made a little sketch to get the data but it does not seem to open the connection... I got to connect to the AP (checking there i see that the ESP is connected):
mySerial.print("AT+CWJAP=\"A_Nexus5\",\"***\"\r\n");
but then I can't open the connection with the server or get any data:
Serial.println("AT+CIPSTART=2,\"TCP\",\"coolparis.azundo.com\",80\r\n");
mySerial.print("AT+CIPSTART=2,\"TCP\",\"coolparis.azundo.com\",80\r\n");
delay(8000);
if (mySerial.find("CONNECT")){
Serial.println("connected to server");
}
else
Serial.println("what?");
but I never get to see "connected to server"
String getdata = "GET / HTTP/1.1\r\nHost: coolparis.azundo.com\r\n\r\n";
int lengthreq = getdata.length();
String lengthreqS = String(lengthreq);
//for (int i = 0; i<3; i++){
String reqconn = "AT+CIPSEND=2," + lengthreqS + "\r\n";
mySerial.print(reqconn);
Serial.print(reqconn);
delay(5000);
mySerial.print(getdata);
Serial.print(getdata);
delay(5000);
if (mySerial.find("IDP"))
Serial.println("got something!");
//}
delay(7000);
Serial.println("data should be there");
if (mySerial.find("+IPD,2")){
Serial.println("bula bula bula");