SatDump 2.0.0-alpha-520736c72
Loading...
Searching...
No Matches
mpdu.h
1#pragma once
2
3#include <cstdint>
4#include <vector>
5
6namespace ccsds
7{
8 namespace ccsds_tm
9 {
10 // Struct representing a M-PDU
11 struct MPDU
12 {
13 // bool sync_flag;
14 uint16_t first_header_pointer;
15 uint8_t *data;
16 };
17
18 // Parse MPDU from CADU
19 MPDU parseMPDU(uint8_t *cadu, bool hasVCDUInsertZone = false, int insertZoneSize = 2, int mpdu_insert_zone = 0);
20
21 } // namespace libccsds
22} // namespace proba
Definition mpdu.h:12