1 unstable release
Uses new Rust 2024
new 0.1.0 | Mar 31, 2025 |
---|
#417 in #management
Used in kbus_mqtt_bridge
57KB
900 lines
kbus
Overview
kbus
is a Rust library that provides a high-level interface for interacting
with the K-Bus on WAGO devices. It is built on top of kbus-sys
, which provides
low-level FFI bindings to the WAGO Device Abstraction Layer (DAL). The library
allows for reading and writing process data, managing device states, and
triggering bus cycles.
Features
- Safe Rust wrapper around the WAGO DAL.
- High-level API for K-Bus interaction.
- Support for reading and writing process data.
Requirements
To use this library, you need WAGO PFC firmware SDK and associated libraries for both build time (linking) and runtime use. The bindings are pregenerated, so you don't need to regenerate them or have the headers available during build time, but the DAL libraries themselves are required during compilation for linking.
For reference, the source repositories are:
License
This project is licensed under the MIT License - see the LICENSE file for details.
Disclaimer
This library interacts with proprietary WAGO systems. Ensure compliance with all relevant licensing and usage policies when using it in your projects.
Dependencies
~215–690KB
~16K SLoC