radio_utils_protocol/lib.rs
1//! HPSDR Protocol 1 client library.
2//!
3//! Provides shared protocol types ([`HpsdrHw`], [`DiscoveredDevice`], [`RadioStatus`]),
4//! IQ sample pack/unpack routines (24-bit RX, 16-bit TX), and UDP transport abstractions.
5//!
6//! With the `client` feature enabled, includes [`Protocol1Client`] for
7//! discovery, streaming, and control command handling over UDP.
8
9#[cfg(feature = "client")]
10mod discovery;
11pub mod iq_accumulator;
12pub mod packets;
13#[cfg(feature = "client")]
14mod protocol1;
15#[cfg(feature = "client")]
16pub mod transport;
17pub use iq_accumulator::IqAccumulator;
18mod types;
19
20#[cfg(feature = "client")]
21pub use protocol1::{P1Command, Protocol1Client};
22pub use types::*;