AT+CIPSEND doesn't send
Posted: Fri Aug 14, 2015 7:23 am
Hey everyone! I'm trying to send data to my server on http://www.000webhost.com.
I followed this tutorial on youtube https://www.youtube.com/watch?v=q02f4sPghSo
I'm having troubles with sending the data. I get SEND OK feedback from the esp8266 but nothing is happening on the server.
I'm using a serial terminal
On the server i have a simple php script to print out the variable:
I have tried POST en GET methods with several AT firmware version but nothings seems to work.
Maybe something is wrong with my GET request or am i missing somthing?
Any help would be appreciated!
I followed this tutorial on youtube https://www.youtube.com/watch?v=q02f4sPghSo
I'm having troubles with sending the data. I get SEND OK feedback from the esp8266 but nothing is happening on the server.
I'm using a serial terminal
Code: Select all
AT+RST
OK
ÿ8—þ8ŸŽþ‚‚ƒ‡Š–Š‹ú$‡.(‚žŽŽûx–�‡8‚‹ƒ�2Žþ
Ai-Thinker Technology Co. Ltd.
ready
AT+GMR
AT version:0.21.0.0
SDK version:0.9.5
OK
AT+CWMODE?
+CWMODE:3
OK
AT+CIPMUX?
+CIPMUX:0
OK
AT+CIFSR
+CIFSR:APIP,"192.168.4.1"
+CIFSR:APMAC,"1a:fe:34:9d:0f:57"
+CIFSR:STAIP,"192.168.0.233"
+CIFSR:STAMAC,"18:fe:34:9d:0f:57"
OK
AT+CIPSTART="TCP","sugerapp-kn.herobo.com",80
CONNECT
OK
AT+CIPSEND=80
OK
> GET /SugarAppV1/esp8266.php?waarde=80 HTTP/1.1\r\nHost: sugerapp-kn.herobo.com\r\n\r\n
busy s...
SEND OK
AT+CIPCLOSE
CLOSED
OK
On the server i have a simple php script to print out the variable:
Code: Select all
<?php
$var = $_GET['waarde'];
echo $var;
?>
I have tried POST en GET methods with several AT firmware version but nothings seems to work.
Maybe something is wrong with my GET request or am i missing somthing?
Any help would be appreciated!