2021-03-04 18:29:28 +01:00
|
|
|
#ifndef COMMON_CONFIG_COMMONCONFIG_H_
|
|
|
|
#define COMMON_CONFIG_COMMONCONFIG_H_
|
|
|
|
|
2021-09-28 14:58:12 +02:00
|
|
|
#include <cstdint>
|
|
|
|
|
2021-07-26 14:23:22 +02:00
|
|
|
#define OBSW_ADD_LWGPS_TEST 0
|
2021-03-04 18:29:28 +01:00
|
|
|
|
2021-09-28 14:58:12 +02:00
|
|
|
// Disable this for mission code. It allows exchanging TMTC packets via the Ethernet port
|
|
|
|
#define OBSW_ADD_TCPIP_BRIDGE 1
|
2021-07-26 13:51:00 +02:00
|
|
|
// Use TCP instead of UDP for the TMTC bridge. This allows using the TMTC client locally
|
|
|
|
// because UDP packets are not allowed in the VPN
|
2021-09-19 12:27:48 +02:00
|
|
|
// This will cause the OBSW to initialize the TMTC bridge responsible for exchanging data with the
|
|
|
|
// CCSDS IP Cores.
|
2021-09-22 16:54:55 +02:00
|
|
|
#define OBSW_USE_CCSDS_IP_CORE 1
|
2021-09-19 12:27:48 +02:00
|
|
|
// Set to 1 if all telemetry should be sent to the PTME IP Core
|
2021-10-07 17:23:41 +02:00
|
|
|
#define OBSW_TM_TO_PTME 1
|
2021-09-19 12:27:48 +02:00
|
|
|
// Set to 1 if telecommands are received via the PDEC IP Core
|
|
|
|
#define OBSW_TC_FROM_PDEC 0
|
2021-09-28 14:58:12 +02:00
|
|
|
#define OBSW_USE_TCP_BRIDGE 1
|
|
|
|
|
|
|
|
namespace common {
|
|
|
|
extern const uint16_t TC_PACKET_ID;
|
|
|
|
}
|
2021-07-26 13:51:00 +02:00
|
|
|
|
2021-03-04 18:29:28 +01:00
|
|
|
#endif /* COMMON_CONFIG_COMMONCONFIG_H_ */
|