Page 1 of 1

ESP32 ESPNOW Duplex mode.

Posted: Mon Jun 04, 2018 11:57 pm
by Mahmoud Omar
I am trying to send and receive data through ESPNOW between two ESP32 boards, lets call them ESP1 & ESP2.
The thing is that if i want to send data from ESP1 to ESP2 i have to initialize ESP1 as master and ESP2 as slave and when i want to get the reply from the first transmission I set ESP2 as master and ESP1 as a slave and so on.
so maybe sometimes a timing issue occurs when the two devices are both set as masters or as slaves at the same time. This causes a problem as they both halt and wait for data.
Is there a way to make this process easier or make both devices master and slave at the same time so that they can send and receive data simultaneously?