tcpip components refactoring
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
This commit is contained in:
@ -1,3 +1,7 @@
|
||||
target_include_directories(${TARGET_NAME} PRIVATE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
target_sources(${TARGET_NAME} PRIVATE
|
||||
commonConfig.cpp
|
||||
)
|
5
common/config/commonConfig.cpp
Normal file
5
common/config/commonConfig.cpp
Normal file
@ -0,0 +1,5 @@
|
||||
#include "commonConfig.h"
|
||||
#include "tmtc/apid.h"
|
||||
#include "fsfw/tmtcpacket/SpacePacket.h"
|
||||
|
||||
const uint16_t common::TC_PACKET_ID = SpacePacket::getTcSpacePacketIdFromApid(apid::EIVE_OBSW);
|
@ -1,10 +1,18 @@
|
||||
#ifndef COMMON_CONFIG_COMMONCONFIG_H_
|
||||
#define COMMON_CONFIG_COMMONCONFIG_H_
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
#define OBSW_ADD_LWGPS_TEST 0
|
||||
|
||||
// Disable this for mission code. It allows exchanging TMTC packets via the Ethernet port
|
||||
#define OBSW_ADD_TCPIP_BRIDGE 1
|
||||
// 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
|
||||
#define OBSW_USE_TMTC_TCP_BRIDGE 1
|
||||
#define OBSW_USE_TCP_BRIDGE 1
|
||||
|
||||
namespace common {
|
||||
extern const uint16_t TC_PACKET_ID;
|
||||
}
|
||||
|
||||
#endif /* COMMON_CONFIG_COMMONCONFIG_H_ */
|
||||
|
Reference in New Issue
Block a user