Gps2udp Jun 2026
Send the same GPS stream to all machines on the 192.168.1.x subnet.
:If your GPS is connected to a different machine (e.g., fridu.net ), you can relay its data to a local port: gps2udp -n -u localhost:5000 fridu.net:2947 Strategic Use Cases
ser = serial.Serial('/dev/ttyUSB0', 9600) sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) gps2udp
| Feature | Description | | --------------------- | ------------------------------------------------------------- | | Serial input | Reads from /dev/ttyUSB0 , COM3 , etc. | | TCP/UDP input | Accepts GPS stream from another network source. | | Configurable baud rate| 4800, 9600, 115200, etc. | | Sentence filtering | Forwards only selected NMEA sentences (e.g., only GGA, RMC). | | Broadcast mode | Sends data to all clients on a subnet. | | Logging | Saves incoming GPS data to a file for later replay. | | Replay mode | Sends pre-recorded NMEA logs over UDP. |
It automatically reconnects to GPSD if the service restarts, making it reliable for "set it and forget it" deployments. Lightweight: Send the same GPS stream to all machines on the 192
Stratum-1 NTP servers often use a serial GPS receiver with a Pulse Per Second (PPS) signal. By running gps2udp on the local machine, you can broadcast the $GPRMC or $GNZDA time sentences to other servers on the same LAN, allowing them to discipline their clocks without dedicated GPS hardware.
is "fire and forget." This makes it incredibly efficient for: AIS Feeds: Broadcasting marine vessel data to sites like or MarineTraffic. Low-Overhead Monitoring: | | Configurable baud rate| 4800, 9600, 115200, etc
As IoT and edge computing continue to grow, tools like gps2udp will remain relevant—moving data from legacy interfaces to the future, one UDP packet at a time.
To customize how data is handled and where it is sent, gps2udp supports several flags: Description -u HOST:PORT Specifies the UDP destination for output sentences. -a Filters the stream to send . -n Outputs sentences in standard NMEA format. -j Outputs sentences in JSON format. -b Runs the utility as a background daemon . -c COUNT
—the open-source service that manages GPS receivers—you’ve likely encountered the challenge of getting that data where it needs to go. While many applications can talk to GPSD directly, sometimes you need to "shout" your coordinates across a network. At its core,