acn_protocol/lib.rs
1mod error;
2mod flags;
3mod length;
4mod pdu;
5mod root_layer;
6mod vector;
7
8pub use error::AcnError;
9pub use flags::Flags;
10pub use length::Length;
11pub use pdu::PduCodec;
12pub use root_layer::RootLayerCodec;
13pub use vector::Vector;
14
15// The ACN identifier is a 12-byte array that identifies the protocol as ACN.
16// byte encoded of "ASC-E1.17\0\0\0";
17pub const ACN_IDENTIFIER: [u8; 12] = [
18 0x41, 0x53, 0x43, 0x2d, 0x45, 0x31, 0x2e, 0x31, 0x37, 0x00, 0x00, 0x00,
19];