PJLink
This is a Rust library for the PJLink protocol. PJLink is a network control protocol that has been incorporated into projectors and displays over the last few years. You can find the protocol specification here. This Library currently supports both authenticated and open connections and currently returns unparsed response. This is just beginning of the API and more will be coming. However, I do plan to leave the raw send_command function for those that want to use this library at a lower level.
Testing has been done with Panasonic and Sanyo projectors.
Usage
Add to Cargo.toml
:
[]
= "0.1.1"
Create a PjlinkDevice and start sending DMX data to a universe.
extern crate pjlink;
use PjlinkDevice;
let mut device = new.unwrap;
match device.send_command
Examples
In the examples folder we have some sample programs that can be run using the folloing command from the project directory.
cargo run --example power_status -- 192.168.1.1 password
License
Licensed under
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.