Struct p25::message::data_unit::DataUnitReceiver [] [src]

pub struct DataUnitReceiver { /* fields omitted */ }

State machine for low-level data unit reception.

The state machine consumes baseband samples and performs the following steps common to all data units:

  1. Track average power of input signal
  2. Lock onto frame synchronization
  3. Deinterleave status symbols
  4. Decode NID information
  5. Decode dibit symbols until stopped

Methods

impl DataUnitReceiver
[src]

[src]

Create a new DataUnitReceiver in the initial reception state.

[src]

Flush any remaining padding symbols at the end of the current packet, and reenter the frame synchronization state afterwards.

[src]

Force the receiver into frame synchronization.

[src]

Feed in a baseband symbol, possibly producing a receiver event. Return Some(Ok(event)) for any normal event, Some(Err(err)) for any error, and None if no event occurred.

Trait Implementations

impl HasStats for DataUnitReceiver
[src]

[src]

Retrieve captured statistics.