Skip to content

Streaming ACN implementation for Rust

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

Johnny-Milkshakes/sacn

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust sACN implementation

Join the chat at https://gitter.im/rust_sacn/Lobby Build Status Crates.io

Documentation

This is an implementation of the Streaming ACN (ANSI E1.31) network protocol.

Currently only the sending DMX data is implemented.

Parsing of the sACN network packets is allocation free and can work in no_std environments.

Usage

Add to Cargo.toml:

[dependencies]

sacn = "0.4.4"

Create a DmxSource and start sending DMX data to a universe.

extern crate sacn;
use sacn::DmxSource;

let mut dmx_source = DmxSource::new("Controller").unwrap();

dmx_source.send(1, &[0, 1, 2]);
// ...

// terminate the stream for a specific universe
dmx_source.terminate_stream(1);

License

Licensed under either of

at your option.

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 dual licensed as above, without any additional terms or conditions.

About

Streaming ACN implementation for Rust

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 100.0%