Communication between two ESP's

Chetan904986
Posts: 1
Joined: Fri Oct 14, 2016 1:38 am

Communication between two ESP's

Postby Chetan904986 » Fri Oct 14, 2016 2:05 am

I have been using two ESP's, one configured as an access point and the other configured as a client connected to the access point formerly created. I am able to send the data successfully but not receiving it on the client side. I have used direct AT commands for configuration and sending data. Following are the AT commands I sent in order mentioned at the access point:
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.

Who is online

Users browsing this forum: No registered users and 189 guests