eive-obsw/common/config/commonConfig.h.in

30 lines
976 B
C
Raw Normal View History

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-10-11 19:34:34 +02:00
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.
2022-03-08 09:37:23 +01:00
#define OBSW_USE_TMTC_TCP_BRIDGE 1
2021-09-28 14:58:12 +02:00
namespace common {
2021-10-18 18:23:26 +02:00
extern const uint16_t PUS_PACKET_ID;
2021-10-11 19:34:34 +02:00
static constexpr uint32_t CCSDS_HANDLER_QUEUE_SIZE = 50;
static constexpr uint8_t NUMBER_OF_VIRTUAL_CHANNELS = 4;
static constexpr uint8_t VC0_QUEUE_SIZE = 50;
static constexpr uint8_t VC1_QUEUE_SIZE = 50;
static constexpr uint8_t VC2_QUEUE_SIZE = 50;
static constexpr uint8_t VC3_QUEUE_SIZE = 50;
2021-09-28 14:58:12 +02:00
}
2021-07-26 13:51:00 +02:00
2021-03-04 18:29:28 +01:00
#endif /* COMMON_CONFIG_COMMONCONFIG_H_ */