eive-obsw/mission/com/defs.h
Robin Mueller 9dc0c5bde0
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit
cleaning up com
2023-03-24 19:37:03 +01:00

34 lines
627 B
C++

#ifndef MISSION_COMDEFS_H_
#define MISSION_COMDEFS_H_
#include <cstdint>
namespace com {
enum class Datarate : uint8_t {
LOW_RATE_MODULATION_BPSK,
HIGH_RATE_MODULATION_0QPSK,
NUM_DATARATES
};
enum Submode : uint8_t {
RX_ONLY = 10,
RX_AND_TX_DEFAULT_DATARATE = 11,
RX_AND_TX_LOW_DATARATE = 12,
RX_AND_TX_HIGH_DATARATE = 13,
RX_AND_TX_CW = 14,
NUM_SUBMODES
};
enum class CcsdsSubmode : uint8_t {
UNSET = 0,
DATARATE_LOW = 1,
DATARATE_HIGH = 2,
DATARATE_DEFAULT = 3
};
enum class ParameterId : uint8_t { DATARATE = 0, TRANSMITTER_TIMEOUT = 1 };
} // namespace com
#endif /* MISSION_COMDEFS_H_ */