mirror of
https://github.com/SatDump/SatDump
synced 2026-08-13 17:47:30 -04:00
18 lines
No EOL
331 B
C++
18 lines
No EOL
331 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
#include <vector>
|
|
|
|
namespace spacex
|
|
{
|
|
// Struct representing a M-PDU
|
|
struct SpaceXHeader
|
|
{
|
|
uint32_t frame_counter;
|
|
uint16_t first_header_pointer;
|
|
uint8_t *data;
|
|
};
|
|
|
|
// Parse MPDU from CADU
|
|
SpaceXHeader parseHeader(uint8_t *cadu);
|
|
} // namespace proba
|