dvb_bbframe/lib.rs
1//! ETSI DVB-S2 / S2X / T2 BBFrame parser + builder.
2//!
3//! Supports both Normal Mode (NM) and High Efficiency Mode (HEM)
4//! per EN 302 755 v1.4.1 §5.1.7.
5//!
6//! Entry points:
7//! - [`header::Bbheader`] — the 10-byte BBHEADER with parse + serialize.
8//! - [`packet::up_iter`] — user packet extraction from the data field.
9//! - [`crc::crc8`] — CRC-8 encoder (EN 302 307-1 §5.1.4 / EN 302 755 Annex F).
10//! - [`issy`] — ISSY field parser (EN 302 755 Annex C).
11//!
12//! # RFU policy
13//!
14//! BBFrame `reserved_future_use` bits are **emitted as 1** and
15//! `reserved_zero_future_use` bits as **0**, following the DVB convention.
16//! Parsers accept any value (no rejection on non-zero RFU) for forward
17//! compatibility.
18
19#![warn(missing_docs)]
20
21pub mod crc;
22pub mod error;
23pub mod header;
24pub mod issy;
25pub mod packet;
26
27pub use error::{Error, Result};