| Crates.io | voltage_iec104 |
| lib.rs | voltage_iec104 |
| version | 0.1.0 |
| created_at | 2025-12-19 02:35:17.990291+00 |
| updated_at | 2025-12-19 02:35:17.990291+00 |
| description | IEC 60870-5-104 protocol implementation for Rust |
| homepage | |
| repository | https://github.com/EvanL1/voltage-iec104 |
| max_upload_size | |
| id | 1994044 |
| size | 147,433 |
IEC 60870-5-104 protocol implementation for Rust.
voltage_iec104 is a pure Rust implementation of the IEC 60870-5-104 protocol, commonly used in SCADA systems for telecontrol applications in power systems.
Add to your Cargo.toml:
[dependencies]
voltage_iec104 = "0.1"
use voltage_iec104::{Client, ClientConfig};
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let config = ClientConfig::new("192.168.1.100:2404");
let mut client = Client::new(config);
client.connect().await?;
client.start_data_transfer().await?;
// Receive data...
Ok(())
}
Licensed under either of:
at your option.