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

Support for UDP broadcast #79

Closed
JSC-Starcat opened this issue Sep 25, 2024 · 2 comments
Closed

Support for UDP broadcast #79

JSC-Starcat opened this issue Sep 25, 2024 · 2 comments

Comments

@JSC-Starcat
Copy link

One (i.m.o.) reasonably easy to add useful feature would be NMEA broadcast over WiFi to UDP port 10110 (which seems to be the standard for this) or a different port. Lots of software supports this: OpenCPN, TZ iBoat among others.

I've seen very simple implementations that send NMEA messages to the broadcast address of the current subnet (i.e. when the NMEA gateway and the client are on subnet 192.168.10.x, the broadcast address would be 192.168.10.255) and these would be picked up by any client on the subnet listening on that particular UDP port.

Advantages would be the minimum amount of configuration neccessary and the fact that UDP is a very lightweight protocol.

@wellenvogel
Copy link
Owner

Fur sure a nice idea.
I will have a look at it. The only issue:
The IP stuff uses a lot of the processor power...
And at least some decisions would be necessary about the destination addresses (at the end you maybe even would need 2 channels - one for the Access Point IP, one for the WifiClient).
Not sure if multicast (not broadcast) should also be an option.

wellenvogel pushed a commit that referenced this issue Nov 4, 2024
@wellenvogel
Copy link
Owner

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