pub fn decode_framed_packets<'a>(
    scid: SCID,
    frames: Box<dyn Iterator<Item = DecodedFrame> + Send + 'a>,
    izone_length: usize,
    trailer_length: usize
) -> impl Iterator<Item = Packet> + Send + 'a
Expand description

Decodes the provided frames into a packets contained within the frames’ MPDUs.

There are several cases when frame data cannot be fully recovered and is dropped, i.e., not used to construct packets:

  1. Missing frames
  2. Frames with state rs2::RSState::Uncorrectable
  3. Fill Frames
  4. Frames before the first header is available in an MPDU

This will handle frames from multiple spacecrafts, i.e., with different SCIDs.