#protocols #bresser #cc8488

no-std ws6in1-proto

A Rust implementation of the CC8488 weather station protocol

2 stable releases

new 1.0.1 Apr 27, 2025

#338 in #protocols

AGPL-3.0-or-later

68KB
1.5K SLoC

ws6in1-proto

A Rust crate that provides a CC8488 compatible weather station protocol implementation.

Crate Features and Goals

  • High level client for easy integration into applications.
  • Optional no_std support for embedded devices.
  • Verify messages during de-serialization.
  • Being efficient if possible.

Rust Feature Flags

  • std (default) — Remove this feature to make the library no_std compatible.
  • client — Enables an async-hid based high level client.
  • heapless - Enables support for heapless vectors.

Device access

To access the USB hidraw device on Linux it may be required to install the supplied udev rules and add the user to the dialout group.

Specification

License

ws6in1-proto is licensed under the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Dependencies

~0.8–27MB
~371K SLoC