Giter Site home page Giter Site logo

fluffy-pancake / makair-telemetry Goto Github PK

View Code? Open in Web Editor NEW

This project forked from makers-for-life/makair-telemetry

0.0 1.0 0.0 29.45 MB

๐Ÿ“ฐ [Software] Rust library and CLI tool to parse telemetry protocol payloads from the MakAir firmware.

Home Page: https://makair.life/

License: Other

Shell 0.18% Rust 99.73% HTML 0.10%

makair-telemetry's Introduction

MakAir Telemetry

โ„น๏ธ Telemetry tools are intended to be used as a library of the Control UI runtime, or as a CLI (eg. to test the telemetry protocol with the firmware).

Versions

Version Last Changelog Ready?
V1.0.x Working serial parsing from firmware โœ…
V1.1.x Extend telemetry protocol and add control protocol โœ…
V1.2.x Alarm code management has been reworked to use ENUMs (interoperability) โœ…

Telemetry Library

This crate is a library that handles reading and parsing the MakAir's telemetry binary protocol, and optionally sending new settings values using the Makair's control binary protocol.

โžก API documentation

Telemetry CLI Tool

This crate also contains a CLI tool that leverages the library.

It has the following commands:

Command Description
control Send one specific control message to a serial port, then run debug mode
convert Read telemetry from a recorded file, parse it and convert it to another format (Warp10 GTS, JSON Text Sequences)
disable-rpi-watchdog Send a control message to disable the RPi watchdog (until MCU is restarted)
debug Read telemetry from a serial port, parse it and stream result to stdout
play Read telemetry from a recorded file, parse it and stream result to stdout
record Read telemetry from a serial port and save bytes to a file
stats Read telemetry from a recorded file, parse it and compute some statistics
storm Send a lot of control messages and/or bytes to a serial port

You can use the scripts provided in the scripts/ directory to run it through Cargo (you need a working Rust development environment).

To see documentation, you can run:

  • makair_telemetry --help to see a list of available commands
  • makair_telemetry [COMMAND] --help to see a list of flags and options for a given [COMMAND]

makair-telemetry's People

Contributors

dsferruzza avatar valeriansaliou avatar ronanm avatar blackyoup avatar jabby avatar hbs avatar mefl avatar pi-r-p avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.