Reads lines from a serial port, and sends it via UDP to two ports
Find a file
2025-09-05 13:58:37 +00:00
.gitignore First commit 2023-03-10 15:29:03 +00:00
gps_udp_sender.c Update link 2025-09-05 13:58:37 +00:00
gps_udp_sender.service First commit 2023-03-10 15:29:03 +00:00
LICENSE First commit 2023-03-10 15:29:03 +00:00
Makefile First commit 2023-03-10 15:29:03 +00:00
README.md First commit 2023-03-10 15:29:03 +00:00

Beaglebone Blue GPS UDP Sender

Reads lines from a serial port, and sends them via UDP to two ports. Maybe useful if you have several programs needing the data that can't both access the serial port, or you want to forward the data to another PC.

Pretty sure you can do this with socat, netcat and tee in some combination but here at least it's one process that can be restarted as needed with no hassle.

Apologies for code quality, it's been a while since I last wrote any C.

make does exactly what you expect. make install will put it in /usr/local/bin and install a systemd service for it to run in the background.