ESP8266 Developer Zone The Official ESP8266 Forum 2016-10-14T02:05:31+08:00 https://bbs.espressif.com:443/feed.php?f=16&t=2871 2016-10-14T02:05:31+08:00 2016-10-14T02:05:31+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2871&p=10152#p10152 <![CDATA[Communication between two ESP's]]> AT+CWMODE=2
AT+CIPMUX=1
AT+CIPSERVER=1,333
AT+CIPSTART=<id>,"UDP","ID of client",333
AT+CIPSEND=<id>,no: of bytes

Every command gets executed properly as I receive "OK" and no errors and finally get a '>' prompt to type in my data (Using Serial Monitor on Arduino). After I give the data, I get the "SEND OK" reply! So, that's working fine!

On the client side, before I send data from AP, I connect it to the AP and get an IP. Following are the commands I execute in sequence:
AT+CWMODE=1
AT+CIPMUX=1
AT+CWJAP="ssid","password",<id>,<enc> //overwriting the default set by the AP, in AP code first and then using the same here
AT+CIFSR //to check IP

Both are executing the "AT+PING" command well! Why am I then not getting the sent data on the client side? It should basically start with the "+IPD" string right? I use two ESP's with versions: 0.40.0.0 and 0.60.0.0! I hope that it is not a problem as both support the above used AT command set.

Thanking you in anticipation of your kind and earliest response in this regard.
Chetan.

Statistics: Posted by Chetan904986 — Fri Oct 14, 2016 2:05 am


]]>