Expand description
CCSDS Space Packet framing.
A telemetry file is a bare concatenation of packets with no index. Each begins with the
six-byte primary header of CCSDS 133.0-B, whose last two octets give the length count
C = (octets in the data field) − 1, so a packet is 6 + C + 1 bytes long.
Some ground-system “raw record” formats prepend a per-packet wrapper; skip_header_bytes
steps over it. The SUDA test file in this repository needs four.
Structs§
- Packet
Iter - Iterates the CCSDS packets in a byte stream.
- Packet
Reader - Reads CCSDS space packets sequentially from an I/O source.
- Space
Packet Bytes - A view of one CCSDS packet, with its primary header fields decoded.
Enums§
- Framing
Error - A malformed packet stream.
- Packet
Read Error - An error encountered while reading a packet stream.
Constants§
- PRIMARY_
HEADER_ BYTES - Size of the CCSDS primary header.