wind_energy wrote:AVR(1)<-UART->ESP32(1) <-WIFI-> ESP32(2)<-UART->AVR(2)

this is the simplest way:
take a look to the AT Instruction document
You need on one side the SoftAP ( Accesspoint ) + Station Mode ( Client )
and on other side the Station Mode ( Client )
Your searchstring in docu is :
AT+CWMODE
you can set the SoftAP ( Accesspoint ) with
AT+CWSAP
you set "SSID" "Passwort" channel and encryption
the second ( Client ) "join" now to this SoftAP with
AT+CWJAP
you need SSID, Passwort for the conneting
if they are connected as network
you can start on one a "server" and connect with the other to it by client mode
You need first AT+CIPMUX
single connection or multi connection
server:
5.2.9
AT+CIPSERVER
create on port 909
AT+CIPSERVER=1,909
( now Server is listening on 909 )
client:
5.2.3
AT+CIPSTART
you need protokoll type (TCP, UDP )
you need remote (Server ) ip
you need remote (Server) port
now you are connected
you can send step by step data
or you can use transparent mode
AT+CIPMODE
After ( transparent mode example )
you start your data send by
AT+CIPSEND
and push data nonstop to the server
ending transparent mode is with "+++"
printf("+++");
study the AT Instruction
you must act on the feedback/response from the AT Commands
the AT Response is well described in the DOCU
for bidirectional
you can use UDP example
and you can push data in transparent mode bidirektional ( transparent bridge )
let me know how you get on in this
hope this short thing is helpfull
best wiishes
rudi
