Skip to main content

Module uslp

Module uslp 

Source
Expand description

Unified Space Data Link Protocol (CCSDS 732.1-B-3). Unified Space Data Link Protocol (USLP)

Spec: https://ccsds.org/Pubs/732x1b3e1.pdf

USLP (CCSDS 732.1-B-3) defines a unified transfer frame format that replaces the separate TM, TC, and AOS frame protocols. It supports both fixed-length and variable-length frames with a variable-size primary header (4-14 bytes).

§Frame Layout

+-------------------------------------+---------+
| Field                               | Size    |
+-------------------------------------+---------+
| Primary Header (fixed part)         | 7 bytes |
|   TFVN + SCID + Src/Dst + VCID      |         |
|   + MAP ID + EOFPH Flag             | 4 bytes |
|   Frame Length                      | 2 bytes |
|   Flags + VCF Count Length          | 1 byte  |
| Primary Header (VCF Count)          | 0-7 B   |
+-------------------------------------+---------+
| Insert Zone (optional)              | Varies  |
+-------------------------------------+---------+
| Transfer Frame Data Field           |         |
|   TFDF Header (rules + UPID)        | 1 byte  |
|   First Header / Last Octet Ptr     | 0 or 2  |
|   Transfer Frame Data Zone          | Varies  |
+-------------------------------------+---------+
| Operational Control Field (opt)     | 4 bytes |
+-------------------------------------+---------+
| Frame Error Control Field (opt)     | 2 bytes |
+-------------------------------------+---------+

Modules§

bitmask
Bitmasks for USLP Transfer Frame header fields.

Structs§

UslpFrameReader
Extracts packets from a received USLP transfer frame.
UslpFrameWriter
Accumulates packets into USLP transfer frames.
UslpFrameWriterConfig
Configuration for building USLP transfer frames.
UslpPrimaryHeaderFixed
The 7-byte fixed portion of a non-truncated USLP Primary Header.
UslpTransferFrame
A zero-copy view over a USLP Transfer Frame.
UslpTransferFrameBuilder
Use builder syntax to set the inputs and finish with build().

Enums§

BuildError
An error during USLP frame construction.
ParseError
An error during USLP frame parsing.
TfdzRule
TFDZ Construction Rules (CCSDS 732.1-B-3, Table 4-3).
Upid
Well-known USLP Protocol Identifier (UPID) values.

Constants§

OID_VCID
VCID reserved for Only Idle Data (OID) Transfer Frames.
USLP_TFVN
USLP Transfer Frame Version Number (0b1100 = 12).