-->
Page 1 of 1

Channel for ESP NOW

PostPosted: Wed Jun 23, 2021 1:15 pm
by alexfreed58
I'm trying to use ESP NOW and started with an Arduino example, using the broadcast address FF FF FF FF FF FF. If both the master and slave are ESP32 devices, everything works as expected. But if the slave is ESP8266, it doesn't get the messages. Or rather gets one in maybe 100 or less even in close proximity to the master.
When setting the master, the example code sets the channel. But the slave does not.
InitESPNow();
esp_now_register_recv_cb(OnDataRecv);

I suspect it may be using some default channel, but where is it set?