DSP operations related to the CCSDS CCSDS 231.0-B-3.
More...
#include <ccsds.hpp>
|
| static void | scrambler (uint8_t *data, size_t len) |
| static void | descrambler (uint8_t *data, size_t len) |
|
| static constexpr uint32_t | ASM = 0x1ACFFC1D |
| | CCSDS frame synchronization marker.
|
DSP operations related to the CCSDS CCSDS 231.0-B-3.
Definition at line 34 of file ccsds.hpp.
◆ 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
-
| data | data to de-randomize. The result is available in place |
| len | the 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
-
| data | data to randomize. The result is available in place |
| len | the number of bytes to randomize |
Definition at line 58 of file ccsds.cpp.
◆ 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: