|
SatCat5
|
CCSDS-AOS transfer frame header.
Definition at line 62 of file ccsds_aos.h.
#include <ccsds_aos.h>
Public Member Functions | |
| constexpr | Header () |
| Basic constructor sets frame count to zero. | |
| Header (const Header &t)=default | |
| Header & | operator= (const Header &t)=default |
| constexpr | Header (u8 scid, u8 vcid) |
| Constructor with known SCID and VCID. | |
| u16 | version () const |
| < Transfer frame version number | |
| u8 | scid () const |
| < Spacecraft ID | |
| u8 | vcid () const |
| < Virtual Channel ID | |
| bool | replay () const |
| < Replay flag? | |
| void | write_to (satcat5::io::Writeable *wr) const |
| Write this header to a stream. | |
| bool | read_from (satcat5::io::Readable *rd) |
| Read from stream, populating header fields. | |
| Header & | operator++ () |
| Increment the Virtual Channel Frame Count. | |
Static Public Member Functions | |
| static constexpr u32 | pack_scid (u8 scid) |
| Convert raw SCID to the internal packed format. | |
| static constexpr u32 | pack_vcid (u8 vcid) |
| Convert raw VCID to the internal packed format. | |
Public Attributes | |
| u16 | id |
| Spaceraft ID + Virtual Channel ID. | |
| u8 | signal |
| Signaling field. | |
| u32 | count |
| Virtual Channel Frame Count. | |