ESP32 WROVER to ESP32 WROVER TCP connection not working

Ryno001
Posts: 1
Joined: Thu Apr 26, 2018 11:29 am

ESP32 WROVER to ESP32 WROVER TCP connection not working

Postby Ryno001 » Thu Apr 26, 2018 11:43 am

Hi,

Is there a specific sequence of steps to follow to setup a TCP connection between two ESP32 WROVER modules?

I have done the following without any success.

On the SOftAP side:

AT+CWSAP="MyName","password",5,3
AT+CIPAP = "192.168.4.10","192.168.4.20"
AT+CWMODE=3
AT+CIPMUX=1
AT+CIPSERVERMAXCONN=4
AT+CIPSERVER=1,2000
AT+CIPSTO=3600

On the client (STA) side:

AT+CWMODE=3
AT+CIPMUX=0
AT+CWJAP="MyName","password"
(the above responds with WIFI CONNECTED and GOT IP)
AT+CIPSTART="TCP","192.168.4.10",2000

The code returned is "connect fail,ret=-1 error=113 ERROR".

Any suggestions or examples using AT commands to establish a connection would be greatly appreciated.

Thank you.

Who is online

Users browsing this forum: Bing [Bot] and 78 guests