Chat freely about anything...

User avatar
By PROTEZIO
#9110 Hi I need help-- :roll:
I've gota problem
I have update the firmware to
Code: Select all00200.9.4
compiled @ Dec 24 2014 20:44:10
AI-THINKER Dec 24 2014

I can connect to my AP
Code: Select allAT+CWJAP?
+CWJAP:"MYNET"
AT+CIFSR
+CIFSR:STAIP,"192.168.1.117"
+CIFSR:STAMAC,"18:fe:34:9f:79:d1"

then I run
Code: Select allAT+CIPSERVER=1,80
+IPD,0,350:GET / HTTP/1.1
Host: 192.168.1.117
Connection: keep-alive
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.94 Safari/537.36
Accept-Encoding: gzip, deflate, sdch
Accept-Language: en-US,en;q=0.8,it;q=0.6
OK
1,CONNECT

but when I try to send
Code: Select allAT+CIPSEND=1,10
AT+CIPSEND=1,10
IPMODE=1

ERROR

what's wrong?
thankss
User avatar
By platforma
#9328 You're setting up your TCP server but not the client. You need to specify where you want the ESP to connect to, the port and whether it's TCP/UDP traffic. For example:

Code: Select allAT+CIPSTART=1,"TCP","192.168.0.4",3912


Once that's done, try your CIPSEND command again and be sure to listen on this address on the other computer. Just like Athena suggested though, always try using the latest firmware. Unless you're tinkering with custom built one.