| Crates.io | kbus-sys |
| lib.rs | kbus-sys |
| version | 0.1.0 |
| created_at | 2025-03-31 01:12:43.680602+00 |
| updated_at | 2025-03-31 01:12:43.680602+00 |
| description | Low-level FFI bindings to the WAGO Device Abstraction Layer (DAL) API for accessing K-Bus functionality on WAGO PFC controllers |
| homepage | |
| repository | https://github.com/ldanko/kbus_mqtt_bridge |
| max_upload_size | |
| id | 1612920 |
| size | 36,748 |
kbus-sys is a Rust crate providing low-level FFI bindings to the WAGO Device Abstraction Layer (DAL) API used for accessing the K-Bus on WAGO devices. The bindings were automatically generated using bindgen based on the original C header files and are now pregenerated in this crate.
Note: Access to the DAL library is necessary.
Low-level access to the DAL API functions including initialization, device scanning, opening/closing devices, and process data I/O.
This crate uses pregenerated bindings, so you don't need the DAL headers at build time. However, you do need the DAL library and other required libraries at build time for linking as well as at runtime for execution.
For detailed instructions on building Rust applications for WAGO devices, refer to:
This crate is licensed under the MIT License. Users must also comply with the licenses of the original WAGO DAL headers and library.
Contributions and bug reports are welcome. Please open an issue or submit a pull request on the GitHub repository.
kbus-sys provides only the raw FFI bindings. It is the user's responsibility to build safe abstractions on top of these bindings and to comply with all licensing requirements of the original WAGO DAL.