docs.rs failed to build libosdp-0.1.3
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
libosdp-0.2.0
LibOSDP for Rust
This crate is a rust wrapper for LibOSDP - the most popular open source library for creating Open Supervised Device Protocol (OSDP) devices. See https://github.cobm/goToMain/liosdp for more information.
Features
- Production ready implementation with active users and contributors
- Supports secure channel communication (AES-128)
- Can be used to setup a PD or CP mode of operation
- Most OSDP specified commands and replies are supported (see doc)
Usage
To add libosdp to your rust project, do:
cargo add libosdp
Control Panel:
A simplified CP implementation:
let pd_info = vec! ;
let mut cp = new?;
cp.set_event_callback;
loop
See examples for a working implementation.
Peripheral Device:
A simplified PD implementation:
let pd_info = new;
let mut pd = new?;
pd.set_command_callback;
loop
See examples for a working implementation.