satdump/plugins/cluster_support/cluster/instruments/wbd_decoder.h
2024-01-17 16:06:16 +01:00

32 lines
No EOL
610 B
C++

#pragma once
#include <vector>
#include <cstdint>
namespace cluster
{
struct MajorFrame
{
std::vector<uint8_t> payload;
bool VCXO = false;
bool ADpower = false;
bool AGC = false;
bool OBDH = false;
bool commands = false;
int convfreq = 0;
int outputmode = 0;
int antennaselect = 0;
int WBDmodel = 0;
int gainlevel = 0;
int lwagc = 0;
int hgagc = 0;
};
class WBDdecoder
{
private:
MajorFrame wbdwip;
public:
std::vector<MajorFrame> work(uint8_t *frm);
};
}