Svc/FprimeProtocol/docs/sdd.md
The F Prime protocol is a minimal communications protocol that can be used in F Prime applications. It is a protocol that is used for both uplink and downlink communications, designed to get started with the F´ GDS quickly. It does not provide any advanced features and is primarily meant for testing purposes. It is used to encapsulate packets of data that are sent between the ground and the spacecraft. It is implemented on both the spacecraft and the Ground (GDS) side.
A frame for F Prime protocol consists of 4 fields:
0xDEADBEEF.FwPacketDescriptorType field, which is used to identify the type of packet.The F Prime frame format is as specified in the following diagram.
---
title: "Default F Prime Frame Format"
---
packet-beta
0-31: "Start word: 0xDEADBEEF [4 bytes]"
32-63: "Payload length [4 bytes]"
64-95: "Payload data [variable length]"
96-127: "CRC [4 bytes]"
[!NOTE] Because the payload length token is 4 bytes long, the F Prime protocol does not support packets larger than 2^32 - 1 bytes (~4 GB).