X-Git-Url: https://code.octet-stream.net/m17rt/blobdiff_plain/21b7d95e42fd374a33e0f18d3e3f406642e46322..9e40113187a3eb54335de0277f8038ee35d9428a:/m17core/src/protocol.rs diff --git a/m17core/src/protocol.rs b/m17core/src/protocol.rs index 382fb9f..375c3f0 100755 --- a/m17core/src/protocol.rs +++ b/m17core/src/protocol.rs @@ -133,6 +133,8 @@ impl LsfFrame { } } + // TODO: encryption sub-type + pub fn channel_access_number(&self) -> u8 { (self.0[12] >> 7) & 0x0f }