Merge pull request 'Remove TCP IP components' (#672) from remove-tcp-ip-components into v3.0.0-dev
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good

Reviewed-on: #672
This commit is contained in:
Robin Müller 2023-06-09 14:44:35 +02:00
commit 1cf318fca1
5 changed files with 16 additions and 9 deletions

View File

@ -56,6 +56,8 @@ will consitute of a breaking change warranting a new major release:
- Handling of multiple RWs in the ACS Controller is improved and can be changed by parameter - Handling of multiple RWs in the ACS Controller is improved and can be changed by parameter
commands. commands.
- Moved PDU `vcc` and `vbat` variable from auxiliary dataset to core dataset. - Moved PDU `vcc` and `vbat` variable from auxiliary dataset to core dataset.
- Tweak TCP/IP configuration: Only the TCP server will be included on the EM. For the FM, no
TCP/IP servers will be included by default.
## Added ## Added

View File

@ -79,6 +79,13 @@ else()
set(INIT_VAL 1) set(INIT_VAL 1)
set(OBSW_STAR_TRACKER_GROUND_CONFIG 0) set(OBSW_STAR_TRACKER_GROUND_CONFIG 0)
endif() endif()
set(OBSW_ADD_TMTC_TCP_SERVER
${OBSW_Q7S_EM}
CACHE STRING "Add TCP TMTC Server")
set(OBSW_ADD_TMTC_UDP_SERVER
0
CACHE STRING "Add UDP TMTC Server")
set(OBSW_ADD_MGT set(OBSW_ADD_MGT
${INIT_VAL} ${INIT_VAL}
CACHE STRING "Add MGT module") CACHE STRING "Add MGT module")

View File

@ -67,8 +67,8 @@
// because UDP packets are not allowed in the VPN // because UDP packets are not allowed in the VPN
// This will cause the OBSW to initialize the TMTC bridge responsible for exchanging data with the // This will cause the OBSW to initialize the TMTC bridge responsible for exchanging data with the
// CCSDS IP Cores. // CCSDS IP Cores.
#define OBSW_ADD_TMTC_TCP_SERVER 1 #define OBSW_ADD_TMTC_TCP_SERVER @OBSW_ADD_TMTC_TCP_SERVER@
#define OBSW_ADD_TMTC_UDP_SERVER 1 #define OBSW_ADD_TMTC_UDP_SERVER @OBSW_ADD_TMTC_UDP_SERVER@
// Can be used to switch device to NORMAL mode immediately // Can be used to switch device to NORMAL mode immediately
#define OBSW_SWITCH_TO_NORMAL_MODE_AFTER_STARTUP 0 #define OBSW_SWITCH_TO_NORMAL_MODE_AFTER_STARTUP 0

View File

@ -3,7 +3,6 @@
#include <cmath> #include <cmath>
class ActuatorCmd { class ActuatorCmd {
public: public:
ActuatorCmd(); ActuatorCmd();

View File

@ -49,6 +49,7 @@
#include "mission/system/acs/acsModeTree.h" #include "mission/system/acs/acsModeTree.h"
#include "mission/system/tcs/tcsModeTree.h" #include "mission/system/tcs/tcsModeTree.h"
#include "mission/tcs/defs.h" #include "mission/tcs/defs.h"
#include "mission/tmtc/Service15TmStorage.h"
#include "mission/tmtc/tmFilters.h" #include "mission/tmtc/tmFilters.h"
#include "objects/systemObjectList.h" #include "objects/systemObjectList.h"
#include "tmtc/pusIds.h" #include "tmtc/pusIds.h"
@ -58,15 +59,13 @@ using persTmStore::PersistentTmStores;
#if OBSW_ADD_TCPIP_SERVERS == 1 #if OBSW_ADD_TCPIP_SERVERS == 1
#if OBSW_ADD_TMTC_UDP_SERVER == 1 #if OBSW_ADD_TMTC_UDP_SERVER == 1
// UDP server includes // UDP server includes
#include "devices/gpioIds.h" #include <fsfw/osal/common/UdpTcPollingTask.h>
#include "fsfw/osal/common/UdpTcPollingTask.h" #include <fsfw/osal/common/UdpTmTcBridge.h>
#include "fsfw/osal/common/UdpTmTcBridge.h"
#endif #endif
#if OBSW_ADD_TMTC_TCP_SERVER == 1 #if OBSW_ADD_TMTC_TCP_SERVER == 1
// TCP server includes // TCP server includes
#include "fsfw/osal/common/TcpTmTcBridge.h" #include <fsfw/osal/common/TcpTmTcBridge.h>
#include "fsfw/osal/common/TcpTmTcServer.h" #include <fsfw/osal/common/TcpTmTcServer.h>
#include "mission/tmtc/Service15TmStorage.h"
#endif #endif
#endif #endif