- Display the current serial port configuration in the YAML format
- Output the ublox messages read on the serial port in the JSON format
- Iterate over all ublox messages read on the serial port
- Verbose alternatives to termios
- Extensive documentation
Add the dependency in your build.zig.zon
by running the following command:
zig fetch --save git+https://github.com/Orolia2s/ublox_parser#master
Then, in your build.zig
:
const ublox = b.dependency("ublox_parser", .{ .target = target, .optimize = optimize }).artifact("ublox_parser");
// wherever needed:
exe.linkLibrary(ublox);
requires zig >= 0.14.0
zig build
zig build test
$ zig build run -- --help
Usage: ublox_parser [OPTION...] [PATH]
Prints serial port configuration and ublox messages.
-f, --file Input is not a serial port but a file. Defaults to
false
-p, --passive Do not change the port configuration, only display
it. Defaults to false
-?, --help Give this help list
--usage Give a short usage message
-V, --version Print program version
Report bugs to <antoine.gagniere@orolia2s.com>.
zig build doc
open doc/html/index.html