-->
Page 1 of 2

SEND problem

PostPosted: Thu Feb 05, 2015 8:02 pm
by PROTEZIO
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

Re: SEND problem

PostPosted: Mon Feb 09, 2015 4:31 am
by Athena
Hi,

How about the latest AT firmware on Espressif Official BBS

http://bbs.espressif.com/viewtopic.php?f=5&t=154

Re: SEND problem

PostPosted: Mon Feb 09, 2015 10:12 am
by platforma
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.

Re: SEND problem

PostPosted: Mon Feb 09, 2015 11:34 am
by martinayotte
Athena wrote:How about the latest AT firmware on Espressif Official BBS

BTW, this latest AT firmware is NOT OpenSource any more ...
AT firmware is not open source any more.. Sorry for the inconvenience..

(from http://bbs.espressif.com/viewtopic.php?f=16&t=140#p656)