ESP-Now broadcasts

Posts: 1
Joined: Tue May 29, 2018 7:26 pm

ESP-Now broadcasts

Postby Crazor » Tue May 29, 2018 7:34 pm

I'm trying to use ESP-Now in a project. So far, it works fine, I can send data around between devices. However, I cannot hardcode the MAC addresses of each and every possible peer, as those are not determined beforehand, and firmware images should be identical.
Depending on what document you look at, broadcast is either supported or unsupported with ESP-Now. I've tried sending packages to the broadcast address (FF:FF:FF:FF:FF:FF) and the return code indicates success, but I cannot get any device to receive those broadcasts. I found various workarounds involving announcing temporary APs for pairing, but those are kind of hackish. I might implement a workaround myself by temporarily switching the MAC address to a known one to send and receive broadcasts, which should work too, but I'd rather use the broadcast mechanism, as that is what it's for.

Has anyone got true broadcasting to work with ESP-Now?

Who is online

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