Skip to content

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

License

Notifications You must be signed in to change notification settings

JuliDi/gmc-publisher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages