2023-01-26 14:00:39 +01:00
|
|
|
#ifndef MISSION_COMDEFS_H_
|
|
|
|
#define MISSION_COMDEFS_H_
|
|
|
|
|
2023-03-24 19:37:03 +01:00
|
|
|
#include <cstdint>
|
|
|
|
|
2023-01-26 14:00:39 +01:00
|
|
|
namespace com {
|
|
|
|
|
2023-01-26 14:42:13 +01:00
|
|
|
enum class Datarate : uint8_t {
|
|
|
|
LOW_RATE_MODULATION_BPSK,
|
|
|
|
HIGH_RATE_MODULATION_0QPSK,
|
|
|
|
NUM_DATARATES
|
|
|
|
};
|
2023-01-26 14:00:39 +01:00
|
|
|
|
2023-01-27 14:44:40 +01:00
|
|
|
enum Submode : uint8_t {
|
2023-02-06 20:15:45 +01:00
|
|
|
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,
|
2023-01-27 14:44:40 +01:00
|
|
|
NUM_SUBMODES
|
|
|
|
};
|
|
|
|
|
2023-01-27 18:38:36 +01:00
|
|
|
enum class CcsdsSubmode : uint8_t {
|
|
|
|
UNSET = 0,
|
|
|
|
DATARATE_LOW = 1,
|
|
|
|
DATARATE_HIGH = 2,
|
|
|
|
DATARATE_DEFAULT = 3
|
|
|
|
};
|
2023-02-02 16:00:53 +01:00
|
|
|
enum class ParameterId : uint8_t { DATARATE = 0, TRANSMITTER_TIMEOUT = 1 };
|
2023-01-27 14:44:40 +01:00
|
|
|
|
|
|
|
} // namespace com
|
2023-01-26 14:00:39 +01:00
|
|
|
|
|
|
|
#endif /* MISSION_COMDEFS_H_ */
|