Skip to content

lautat/ruuvi-sensor-protocol-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ruuvi-sensor-protocol-rs Crates.io Docs.rs Crates.io

Ruuvi sensor protocol parser implementation

Requirements

  • Rust >= 1.60
    • This crate can be compiled without std by disabling default features

Crate Features

  • std (default) enables features that depend on std crate
  • gateway adds parsers for Ruuvi Gateway payload formats, adds hex, serde and serde_json dependencies and requires alloc crate from the standard library

Documentation

Docs are available online at docs.rs. They can be built from source with cargo doc. Examples are included in the docs.

Changes

0.6.2 (unreleased)

0.6.1

  • Build documentation with all features for docs.rs

0.6.0

  • Requires 2021 Edition (Rust >= 1.60)
  • Support for parsing Ruuvi Gateway MQTT message payloads
    • It is disabled by default, but can be enabled with gateway feature

0.5.0

  • Requires Rust >= 1.48
  • Adds Clone trait for SensorValues and ParseError
  • Use AsRef<[u8]> as type bound for value in from_manufacturer_specific_data

0.4.1

  • Corrected ZERO_CELSIUS_IN_MILLIKELVINS constant

0.4.0

0.3.0

  • Requires 2018 Edition (Rust >= 1.31)
  • Adds option to compile without std create

License

This project is licensed under MIT license.

About

Ruuvi sensor protocol parser implementation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages