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.
Communication between two ESP's
-
- Posts: 1
- Joined: Fri Oct 14, 2016 1:38 am
Who is online
Users browsing this forum: No registered users and 189 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.