The use of the ESP8266 in the world of IoT

User avatar
By Chetan904986
#56474 I have two ESP's, one configured as an access point and the other configured as a client connected to this access point formerly created. I am executing the following commands on the AP side to send data to the client without the involvement of the Wi-Fi network (obvious as configured as AP):
AT+CWMODE=2
AT+CIPMUX=1
AT+CIPSERVER=1,333
AT+CIPSTART=<id>,"UDP","IP address of client",333
AP+CIPSEND=<id>,length of data (in bytes)
After executing all of the above commands successfully (received "OK" for every command), I get the '>' prompt to type in the data! I type it and it gets transmitted successfully as I get "SEND OK".

The problem is that I don't receive the same on the client (data sent). These were the commands I executed on client before sending data:
AT+CWMODE=1
AT+CIPMUX=1
AT+CWJAP="ssid","password",<id>,<encryption" // will set this at AP using CWSAP

Any remedy for this problem?

Thanks in advance!