|
CCSDSPack
C++ Library for CCSDS Space Packet manipulation. i.e. generation, extraction, analisys and more
|
Represents the primary header of a CCSDS packet. More...
#include <CCSDSHeader.h>
Public Member Functions | |
| PrimaryHeader (const std::uint8_t versionNumber_value, const std::uint8_t type_value, const std::uint8_t dataFieldHeaderFlag_value, const std::uint16_t APID_value, const std::uint8_t sequenceFlag_value, const std::uint16_t sequenceCount_value, const std::uint16_t dataLength_value) | |
| Constructs a PrimaryHeader with specified field values. | |
Public Attributes | |
| std::uint8_t | versionNumber {} |
| 3 bit first of packet identification | |
| std::uint8_t | type {} |
| 1 bit second of packet identification | |
| std::uint8_t | dataFieldHeaderFlag {} |
| 1 bit third of packet identification | |
| std::uint16_t | APID {} |
| 11 bit last of packet identification | |
| std::uint8_t | sequenceFlags {} |
| 2 bit first of sequence control | |
| std::uint16_t | sequenceCount {} |
| 14 bit last of sequence control | |
| std::uint16_t | dataLength {} |
| 16 bits | |
Represents the primary header of a CCSDS packet.
This structure is used to encapsulate the key fields of the CCSDS primary header.
Fields:
Definition at line 41 of file CCSDSHeader.h.
|
inline |
Constructs a PrimaryHeader with specified field values.
| versionNumber_value | 3-bit version number. |
| type_value | 1-bit type value (0 or 1). |
| dataFieldHeaderFlag_value | 1-bit data field header flag. |
| APID_value | 11-bit application process identifier. |
| sequenceFlag_value | 2-bit sequence flag. |
| sequenceCount_value | 14-bit sequence count. |
| dataLength_value | 16-bit data length. |
Definition at line 66 of file CCSDSHeader.h.
| std::uint16_t CCSDS::PrimaryHeader::APID {} |
| std::uint8_t CCSDS::PrimaryHeader::dataFieldHeaderFlag {} |
| std::uint16_t CCSDS::PrimaryHeader::dataLength {} |
| std::uint16_t CCSDS::PrimaryHeader::sequenceCount {} |
| std::uint8_t CCSDS::PrimaryHeader::sequenceFlags {} |
| std::uint8_t CCSDS::PrimaryHeader::type {} |
| std::uint8_t CCSDS::PrimaryHeader::versionNumber {} |