Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request - option to use Broadcast #7

Open
netmindz opened this issue Jan 5, 2025 · 2 comments
Open

Feature request - option to use Broadcast #7

netmindz opened this issue Jan 5, 2025 · 2 comments

Comments

@netmindz
Copy link

netmindz commented Jan 5, 2025

In order to around issues with some WiFi routers and how they handle multicast, how hard would it be for your to add the option to send to the network broadcast address instead?

@Victoare
Copy link
Owner

Victoare commented Jan 5, 2025

As the documents suggest I have to send the packets to the specific UDP multicast IP with the configurable port.
What would be the other working scenario?

@netmindz
Copy link
Author

netmindz commented Jan 5, 2025

Not sure yet if the way that the UDP stack works on the ESP32 will require changes in WLED too on the recieving side.

In theory multicast allows your networking setup to only send the data to the devices that are part of the multicast group. In practice many WiFi routers just send multicast packets as if they are broadcast, rather than using IGMP Snooping.

The issue reported where data stops after a few mins is when the WiFi router thinks there are no active devices so stops transmitting the data over WiFi. Rather than trying to chase exactly which end the bug is it might just be easier to provide the option to send as broadcast - where it's expected that every device receives that data.

Given we are talking about small packets at relatively low interval and only within the LAN away, it's not going to make much on an impact - sending bytes of data out say into your wired network of 1Gb/s when technically only needed on your WiFi is not an issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants