But this doesn't work as expected.
- Should CIPSTART return "Linked" as well? Because I wait and wait... and my module only responds with OK, then CLOSED if I don't do anything else
After the CIPSEND I Write "GET / HTTP/1.0\r\n\r\n" and it says SEND OK, but before you will see a "busy s..." Any idea about this?
AT+GMR
0020000903
compiled @ Dec 15 2014 19:43:31
AITHINKER-20141206
OK
AT+CIPMUX=1
OK
AT+CIFSR
+CIFSR:APIP,"192.168.4.1"
+CIFSR:APMAC,"1a:fe:34:9b:c0:df"
+CIFSR:STAIP,"192.168.1.170"
+CIFSR:STAMAC,"18:fe:34:9b:c0:df"
OK
AT+CIPSTART=4,"TCP","google.com",80
4,CONNECT
OK
AT+CIPSEND=4,18
> GET / HTTP/1.0\r\n\r\nbusy s...
SEND OK
4,CLOSED
OK
In one of the other esp8266 modules I have, I flashed it with the nodemcu firmware and tried the LUA commands and it worked... but I cannot manage to make this simple AT commands example.
For webserver it works withour problem, but for the http request I am missing something.
Thanks in advance