X-Git-Url: https://code.octet-stream.net/m17rt/blobdiff_plain/4cfda08117c4288a5408d45db1ef4be82f4facaa..488cd0f950a1754f8c5a34dc2617c927e466cc3b:/m17core/src/protocol.rs diff --git a/m17core/src/protocol.rs b/m17core/src/protocol.rs index f2e154e..e4b3b15 100755 --- a/m17core/src/protocol.rs +++ b/m17core/src/protocol.rs @@ -4,6 +4,8 @@ pub(crate) const LSF_SYNC: [i8; 8] = [1, 1, 1, 1, -1, -1, 1, -1]; pub(crate) const BERT_SYNC: [i8; 8] = [-1, 1, -1, -1, 1, 1, 1, 1]; pub(crate) const STREAM_SYNC: [i8; 8] = [-1, -1, -1, -1, 1, 1, -1, 1]; pub(crate) const PACKET_SYNC: [i8; 8] = [1, -1, 1, 1, -1, -1, -1, -1]; +pub(crate) const PREAMBLE: [i8; 8] = [1, -1, 1, -1, 1, -1, 1, -1]; +pub(crate) const END_OF_TRANSMISSION: [i8; 8] = [1, 1, 1, 1, 1, 1, -1, 1]; #[derive(Debug, Clone, PartialEq, Eq, Copy)] pub enum Mode {