ESP-NOW listen on one channel, send on another

Posts: 65
Joined: Wed Feb 07, 2018 3:53 pm

ESP-NOW listen on one channel, send on another

Postby chromebin » Tue Apr 17, 2018 2:54 pm

I want to network a handful of devices with ESPNOW. The thought occurred to me to send the request (command) on one channel, and the reply on another. That way the master can interrupt the slaves and stop them quacking.

So can the ESPNOW listen on one channel, send on another?

Does anyone perhaps even have an example??

As you might have noticed, I am new to the ESP32, so thank you in advance.

Posts: 2365
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP-NOW listen on one channel, send on another

Postby ESP_Sprite » Wed Apr 18, 2018 2:23 am

It's technically possible to do what you write, but not what you intend :) I think espnow does allow associating with multiple peers on different channels. However, the ESP32 physically has only one radio, which can only be tuned to one frequency at a time. If your devices are 'quacking', it means both the sending as well as the receiving devices have tuned their radio to the common channel, and if another master says something on a different channel, they won't be able to hear it.

I wouldn't worry too much about this in the first place, however, and just tune everything to one single channel. WiFi connections, even with ESPNow, are pretty fast, and you need to do pretty extraordinary things if you manage to fill up the entire spectrum with continuous transmissions: in practice, there'll be enough holes for a master telling everyone to STFU.

Return to “ESP32 IDF”

Who is online

Users browsing this forum: Google [Bot] and 20 guests