Skip to content

Struct ccsds_tm_frame_rx_t

ClassList > ccsds_tm_frame_rx_t

What ccsds_tm_frame_decode found on the way through.More...

  • #include <ccsds_tm_frame.h>

Public Attributes

Type Name
size_t frame_len
unsigned rs_codewords
unsigned rs_corrected
unsigned rs_ok
unsigned rs_symbols

Detailed Description

The outer code corrects (rs/rs_core.h), so rs_ok counts the codewords that are good afterwards — clean or repaired — and rs_ok < rs_codewords means the returned frame is wrong in a way this function knows about: at least one codeword was too far from any codeword to name. That is reported rather than folded into the return value because a caller doing frame accounting wants the count, and a caller wanting only good frames can compare the two.

rs_corrected and rs_symbols are the work the outer code actually did. They are the honest measure of how hard the link is running: rs_ok == rs_codewords with a rising rs_symbols is a margin being spent, and it is spent before it is lost.

Public Attributes Documentation

variable frame_len

size_t ccsds_tm_frame_rx_t::frame_len;

Transfer Frame octets written


variable rs_codewords

unsigned ccsds_tm_frame_rx_t::rs_codewords;

Codewords decoded; 0 with no outer code


variable rs_corrected

unsigned ccsds_tm_frame_rx_t::rs_corrected;

How many of those needed repair


variable rs_ok

unsigned ccsds_tm_frame_rx_t::rs_ok;

How many are valid after decoding


variable rs_symbols

unsigned ccsds_tm_frame_rx_t::rs_symbols;

Symbol errors repaired across the block



The documentation for this class was generated from the following file native/inc/ccsds_tm/ccsds_tm_frame.h