SatNOGS-COMMS  4.1.0
A COMMS subsystem for CubeSats
Loading...
Searching...
No Matches
satnogs::comms::dsp::ccsds Class Reference

DSP operations related to the CCSDS CCSDS 231.0-B-3. More...

#include <ccsds.hpp>

Static Public Member Functions

static void scrambler (uint8_t *data, size_t len)
static void descrambler (uint8_t *data, size_t len)

Static Public Attributes

static constexpr uint32_t ASM = 0x1ACFFC1D
 CCSDS frame synchronization marker.

Detailed Description

DSP operations related to the CCSDS CCSDS 231.0-B-3.

Definition at line 34 of file ccsds.hpp.

Member Function Documentation

◆ descrambler()

void satnogs::comms::dsp::ccsds::descrambler ( uint8_t * data,
size_t len )
static

Descrambles the data in place, based on the CCSDS Randomization procedure Initial seed as specified by CCSDS 231.0-B-3 is all ones

Parameters
datadata to de-randomize. The result is available in place
lenthe number of bytes to de-randomize
Note
: While this is an additive synchronous scrambler, scrambling and descrambling is the exact same procedure. This function is only for readability purposes.

Definition at line 76 of file ccsds.cpp.

◆ scrambler()

void satnogs::comms::dsp::ccsds::scrambler ( uint8_t * data,
size_t len )
static

Scrambles the data in place, based on the CCSDS Randomization procedure Initial seed as specified by CCSDS 231.0-B-3 is all ones

Parameters
datadata to randomize. The result is available in place
lenthe number of bytes to randomize

Definition at line 58 of file ccsds.cpp.

Member Data Documentation

◆ ASM

uint32_t satnogs::comms::dsp::ccsds::ASM = 0x1ACFFC1D
staticconstexpr

CCSDS frame synchronization marker.

Definition at line 41 of file ccsds.hpp.


The documentation for this class was generated from the following files: