Astro~/0.3
** Protocols / Protocols * PAGE 59 / 87
** Astro * Protocols
** /protocols

Protocols

Every standard Astro implements, grouped by where it sits in the stack.

22 standards. If you are not sure which one you need, read the stack first. It explains how a sensor reading becomes radio symbols and which package does each step.

Every protocol page opens the same way: what Astro implements and what it leaves to you. From there the shape follows the standard. A wire format gets a field map from wire fields to Go fields and a list of the rules that bite, while a coding or compression standard gets a walkthrough of the chain instead. The Go API is on the same page, and each has a conformance statement in its own section.

By layer

LayerWhat sits there
Packets and transportThe unit an application sends, and moving files and bundles across a network of themSPP, EPP, CFDP, LTP, BP
Space data linkTransfer frames in both directions, plus reliable delivery and securityTM, TC, AOS, USLP, Proximity-1, COP-1, SDLS
Coding and synchronizationFinding frame boundaries, and surviving bit errors without a resendTMSC, TCSC, PXSC, OCSC
Ground to groundMoving frames between a ground station and a control centreSLE
CompressionShrinking data losslessly before it goes down the linkLDC, RHC
Time, payload, databaseHow timestamps are written, what goes inside a packet, what the octets meanTime codes, PUS, XTCE

Shared internals

Not protocols, but packages you may end up importing.

PackageWhat it is
pkg/crcCRC checksums used across the standards. CRC-16-CCITT and friends.
pkg/sdnvSelf-Delimiting Numeric Values, shared by LTP and BP.
pkg/sdlShared data link primitives — channels, multiplexers, gap detection: used by TM, TC, AOS, and USLP.
pkg/stackBuilds both ends of a downlink or uplink from one configuration, so they cannot drift apart. See compose a link.

Not implemented yet

Open for contribution. See adding a protocol.

Standard
CCSDS 122.0-B-2Image Data Compression
CCSDS 122.1-B-1Spectral Preprocessing Transform
CCSDS 123.0-B-2Low-Complexity Lossless Image Compression
ECSS-E-ST-70-32CTest and Operations Procedure Language