|
SatCat5
|
Helper object for the CCSDS-SPP primary packet header.
(Length field and secondary headers are handled separately.)
Definition at line 47 of file ccsds_spp.h.
#include <ccsds_spp.h>
Public Member Functions | |
| Header (const Header &t)=default | |
| Header & | operator= (const Header &t)=default |
| u32 | version () const |
| < Version field | |
| bool | type_cmd () const |
| < Type field is command? | |
| bool | type_tlm () const |
| < Type field is telemetry? | |
| bool | sec_hdr () const |
| < Secondary header present? | |
| u16 | apid () const |
| < Application process identifier (APID) | |
| u32 | seqf () const |
| < Sequence flags | |
| u16 | seqc () const |
| < Sequence counter | |
| void | set (bool cmd, u16 apid, u16 seq) |
| Construct a basic single-part SPP header. | |
| Header & | operator++ () |
| Increment the sequence-count field. | |
Static Public Member Functions | |
| static constexpr u32 | pack_apid (u16 apid) |
| Convert raw APID to the packed internal format. | |
| static constexpr u32 | pack_seqc (u16 seqc) |
| Convert raw SEQC to the packed internal format. | |
Public Attributes | |
| u32 | value |