Skip to content

Conversation

landswellsong
Copy link
Contributor

Hi,
Made this change for myself, but may be useful elsewhere. Allows to specify broadcast addresses for connect:// at rx side. Ideally we may want to check if the address is indeed a broadcast, but mavlink-router doesn't bother to do that so I'm not sure. Maybe it will fail if running as unprivileged user though.

@svpcom
Copy link
Owner

svpcom commented Oct 12, 2023

@landswellsong Why not use multicast 224.0.0.1 address instead of broadcast? It doesn't require any additional permissions

@landswellsong
Copy link
Contributor Author

@svpcom great alternative, didn't think of that. But I have options of some SW on an android tablet that's not aware of multicast, I'm not sure it can join the multicast group normally without too much rewrite.

How about I add broadcasting as an option so it's only set if you explicitly mention it in the config?

@svpcom
Copy link
Owner

svpcom commented Oct 12, 2023

@landswellsong 224.0.0.1 multicast group is "local network" group and all hosts are members of it by default. It already used in wfb-ng video broadcasting example.

@svpcom svpcom force-pushed the master branch 11 times, most recently from 7083c94 to 614f1f8 Compare August 9, 2024 00:30
@svpcom svpcom force-pushed the master branch 11 times, most recently from e3a877d to b3a8884 Compare February 5, 2025 21:55
@svpcom svpcom force-pushed the master branch 2 times, most recently from e72d646 to f8a805d Compare April 23, 2025 00:19
@svpcom svpcom force-pushed the master branch 2 times, most recently from 9bd67a2 to cb114fd Compare April 28, 2025 23:12
@svpcom svpcom force-pushed the master branch 2 times, most recently from b3416e1 to 46cc48c Compare July 18, 2025 18:07
@svpcom svpcom force-pushed the master branch 7 times, most recently from aa12980 to 137e024 Compare August 6, 2025 08:22
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

Successfully merging this pull request may close these issues.

2 participants