Command-line Utility for GPS

Description

The venus-gps package provides an example command line utility to configure and read the GPS receiver.

Usage

Running venus-gps with no arguments will configure the GPS receiver to output the sentences GGA, GSA, GSV, GLL, RMC, VTG every second. If none of the output modes –file, –tcp-server, –tcp-client, –udp-client, –serial are specified or –file is set to “-” the output will go to stdout. Only one output mode is possible at a time. If –port is not present, then port 5445 will be used in modes where a port is required, in the most useful way.

Each of the sentences GGA, GSA, GSV, GLL, RMC, VTG have a corresponding long option, in lower case, which accepts a value between 0 and 255 seconds. Setting a sentence to 0 disables the output of that message.