-->
Page 1 of 1

Two ESP8266 connect to each other

PostPosted: Tue Apr 28, 2015 5:15 am
by Zealot
I'd like to use the ESP8266 in a RC application, e.g. two ESP8266 talk to each other.

I found lots of examples on how to connect one ESP8266 to the internet (to an Access Point) - but now how two connect two ESP8266 without an Access Point / Router.

Image I have my stuff somewhere in the middle of nowhere where there's no internet, AP, router. Only 2x Arduino and 2x ESP8266. How can I make both talk to each other?

Re: Two ESP8266 connect to each other

PostPosted: Tue Apr 28, 2015 10:26 am
by AcmeUK
Run one in Station mode, the other in Soft AP mode?

Re: Two ESP8266 connect to each other

PostPosted: Sat May 23, 2015 3:11 am
by barone_f
I tried this solution but I found problems in the client module, I had two esp in ap mode, then sometime one try to connect as station to other. I wrote code using sdk c and I found problems because esp client cannot set the ip address.... Loop during got ip... I tried to connect to esp using smartphone and I receive a valid ip address.... I perforned many tests and I evalutate to moving to AT solution with arduino .... :shock: :shock: :roll:

Re: Two ESP8266 connect to each other

PostPosted: Sat May 23, 2015 4:12 am
by pvvx
barone_f wrote:I tried this solution but I found problems in the client module
AT 0.23 client:
AT+CWMODE=1
AT+CWJAP_DEF="ESP8266","0123456789"
AT+SAVETRANSLINK=1,"192.168.4.1",12345,"TCP"
AT+RST
FullFlash 512k (AT esp8266ru 0.23 SDK 1.0.1 ) https://yadi.sk/d/5AE53jrrgYXbb