F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
Svc::CcsdsTestUtils Namespace Reference

Typedefs

using SerialType = ComCfg::Apid::SerialType
 
using ApidOption = Fw::Optional< ComCfg::Apid::T >
 

Functions

ApidOption getRandomApid ()
 

Typedef Documentation

◆ ApidOption

Definition at line 15 of file TestUtils.cpp.

◆ SerialType

Definition at line 14 of file TestUtils.cpp.

Function Documentation

◆ getRandomApid()

Fw::Optional< ComCfg::Apid::T > Svc::CcsdsTestUtils::getRandomApid ( )

Get a random APID for CCSDS testing If possible, randomly choose from among the set of configured constants for ComCfg::APID that fit in 11 bits. If not possible, return NONE.

Returns
SOME(apid) or NONE

Definition at line 17 of file TestUtils.cpp.