CCSDSPack
C++ Library for CCSDS Space Packet manipulation. i.e. generation, extraction, analisys and more
|
Contains definitions and classes for handling CCSDS headers. More...
Classes | |
class | BufferHeader |
Represents a fixed secondary header used as a data buffer. More... | |
struct | CRC16Config |
Configuration structure for CRC16 calculation parameters. More... | |
class | DataField |
Represents the data field of a CCSDS packet. More... | |
class | Error |
Represents an error with both an error code and a message. More... | |
class | Header |
Manages the decomposition and manipulation of CCSDS primary headers. More... | |
class | Manager |
Manages CCSDS packets and their templates. More... | |
class | Packet |
Represents a CCSDS (Consultative Committee for Space Data Systems) packet. More... | |
struct | PrimaryHeader |
Represents the primary header of a CCSDS packet. More... | |
class | Result |
Encapsulates a result that can hold either a value or an Error. More... | |
class | SecondaryHeaderAbstract |
Abstract base class for a (Packet Utilization Standard) header. More... | |
class | SecondaryHeaderFactory |
A singleton factory class responsible for registering and creating instances of SecondaryHeaderAbstract objects. More... | |
class | Validator |
Handles validation of CCSDS packets. More... | |
Typedefs | |
using | ResultBool = Result< bool > |
using | ResultBuffer = Result< std::vector< uint8_t > > |
Enumerations | |
enum | ESequenceFlag : uint8_t { CONTINUING_SEGMENT , FIRST_SEGMENT , LAST_SEGMENT , UNSEGMENTED } |
Represents the sequence flags used in CCSDS telemetry transfer frames. More... | |
enum | ErrorCode : uint8_t { NONE = 0 , UNKNOWN_ERROR = 1 , NO_DATA = 2 , INVALID_DATA = 3 , INVALID_HEADER_DATA = 4 , INVALID_SECONDARY_HEADER_DATA = 5 , INVALID_APPLICATION_DATA = 6 , NULL_POINTER = 7 , INVALID_CHECKSUM = 8 , VALIDATION_FAILURE = 9 , SOMETHING_WENT_WRONG = 10 , FILE_READ_ERROR = 11 , FILE_WRITE_ERROR = 12 , CONFIG_FILE_ERROR = 13 } |
Defines various error codes used in CCSDS packet handling. More... | |
Contains definitions and classes for handling CCSDS headers.
Contains result handling utilities for CCSDS packet processing.
using CCSDS::ResultBool = typedef Result<bool> |
Definition at line 131 of file CCSDSResult.h.
using CCSDS::ResultBuffer = typedef Result<std::vector<uint8_t> > |
Definition at line 132 of file CCSDSResult.h.
enum CCSDS::ErrorCode : uint8_t |
Defines various error codes used in CCSDS packet handling.
Enumerator | |
---|---|
NONE | No error. |
UNKNOWN_ERROR | Unknown error. |
NO_DATA | No data available. |
INVALID_DATA | Data is invalid. |
INVALID_HEADER_DATA | Header data is invalid. |
INVALID_SECONDARY_HEADER_DATA | Secondary header data is invalid. |
INVALID_APPLICATION_DATA | Application data is invalid. |
NULL_POINTER | Null pointer encountered. |
INVALID_CHECKSUM | Checksum validation failed. |
VALIDATION_FAILURE | Validation Failure. |
SOMETHING_WENT_WRONG | General failure. |
FILE_READ_ERROR | Reading from file failure. |
FILE_WRITE_ERROR | Writing to file failure. |
CONFIG_FILE_ERROR |
Definition at line 19 of file CCSDSResult.h.
enum CCSDS::ESequenceFlag : uint8_t |
Represents the sequence flags used in CCSDS telemetry transfer frames.
This enum defines the possible sequence flag values that indicate the type and position of a data segment in a telemetry frame:
Definition at line 19 of file CCSDSHeader.h.