kbus

Crates.iokbus
lib.rskbus
version0.1.0
created_at2025-03-31 01:13:17.21908+00
updated_at2025-03-31 01:13:17.21908+00
descriptionHigh-level safe Rust interface for interacting with the K-Bus on WAGO PFC devices, providing abstractions for I/O operations and bus cycle management
homepage
repositoryhttps://github.com/ldanko/kbus_mqtt_bridge
max_upload_size
id1612921
size26,952
(ldanko)

documentation

README

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.

Commit count: 5

cargo fmt