acn_protocol/
lib.rs

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