Thaks, I just try that but doesn't work... Here is the modified sketch:
}
void loop()
{
while (nss.available() > 0) {
inByte = nss.read();
Serial.print(inByte);
}
Serial.println();
delay(3000);
Serial.println("GET /arduino.php?registro=RPA&n=Temperatura&v=14 HTTP/1.1");
nss.println("GET /arduino.php?registro=RPA&n=Temperatura&v=14 HTTP/1.1");
Serial.println("Host: 200.28.91.48");
nss.println("Host: 200.28.91.48");
Serial.println("Connection: close");
nss.println("Connection: close");
Serial.println();
nss.println();
delay(3000);
}
and this is the server answer (is the same in both scketch):
First Message:
GET /arduino.php?registro=RPA&n=Temperatura&v=14 HTTP/1.1
Host: 200.28.91.48
Connection: close
HTTP/1.1 200 OK
Date: Fri, 23 May 2014 20:54:16 GMT
Server: A
Second and next message
GET /arduino.php?registro=RPA&n=Temperatura&v=14 HTTP/1.1
Host: 200.28.91.48
Connection: close
R´U%%õ%¥JreÅR)ªUUWCÂR´U%%õ%¥?ÊÊR)ªUUWCÂRÚ*%%õ%)ÊÊ?
R?
GET /arduino.php?registro=RPA&n=Temperatura&v=14 HTTP/1.1
Host: 200.28.91.48
Connection: close
R´U%%õ%¥JreÅR)ªUUWCÂR´U%%õ%¥?ÊÊR)ªUUWCÂRÚ*%%õ%¥)ÊÊ*)QHR
As you see the first one arrives to the server but the other ones not..
Thanks...