Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 1.4 KB

README.md

File metadata and controls

44 lines (32 loc) · 1.4 KB

gmc-publisher

A minimal application for uploading the Geiger Counter's current CPM values to gmcmap.com written in Rust.

Features

  • Only specify port, user ID and Geiger Counter ID – and you are good to go
  • Minimal dependencies
  • Easy to adapt to specifc needs or other models

Dependencies

  • clap: for parsing command line arguments
  • ureq: for performing the http GET request to gmcmap.com
  • serialport: for interfacing with the GMC's serial port via USB

Installation

Compilation

  • for your machine:

    cargo build --release

  • for a different platform (e.g. 32 bit Linux) using cross:

    cross build --target i686-unknown-linux-musl --release

Running gmc-logger

USAGE:
    gmc-logger --aid <AID> --gid <GID> --port <PORT>

FLAGS:
    -h, --help    Prints help information

OPTIONS:
    -a, --aid <AID>      The gmcmap.com user account ID
    -g, --gid <GID>      The gmcmap.com Geiger Counter ID
    -p, --port <PORT>    The device path to a serial port, e. g. /dev/tty.USB0

Example: gmc-logger --port=/dev/ttyUSB0 --aid=12345 --gid=1234567890

References

Check out gq-gmc-control. It's a "Control tool for the GQ GMC Geiger Counters." written in Python.

License

See LICENSE