10 releases
0.3.3 | May 11, 2023 |
---|---|
0.3.0 | Apr 17, 2023 |
0.2.3 | Dec 9, 2022 |
0.1.4 | Nov 29, 2022 |
33 downloads per month
27KB
770 lines
escvpnet
escvpnet is a Rust library for the ESC/VP.net protocol (EPson Control Video Projector)
Examples
Discovering ESC/VP.net hosts
use std::time::Duration;
let addrs = escvpnet::discover("0.0.0.0:3629", "255.255.255.255:3629", Some(Duration::from_millis(100)));
Creating ESC/VP.net client and sending commands
use escvpnet::{Client, commands::LAMP, Command};
let mut client = Client::connect("192.168.0.1:3629").expect("Failed to connect to projector");
let command = Command::Get { command: LAMP };
client.send(command).expect("Failed to send command");
Dependencies
~3–11MB
~110K SLoC