From 5a51970bf56d93d921f27791c55525712afcb742 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Mon, 9 Aug 2021 16:51:04 +0200 Subject: [PATCH] server port definition which refers to TCP server --- src/fsfw/osal/common/TcpTmTcBridge.cpp | 2 ++ src/fsfw/osal/common/TcpTmTcBridge.h | 1 + 2 files changed, 3 insertions(+) diff --git a/src/fsfw/osal/common/TcpTmTcBridge.cpp b/src/fsfw/osal/common/TcpTmTcBridge.cpp index bace231c..5166c741 100644 --- a/src/fsfw/osal/common/TcpTmTcBridge.cpp +++ b/src/fsfw/osal/common/TcpTmTcBridge.cpp @@ -17,6 +17,8 @@ #endif +const std::string TcpTmTcBridge::DEFAULT_SERVER_PORT = TcpTmTcBridge::DEFAULT_SERVER_PORT; + TcpTmTcBridge::TcpTmTcBridge(object_id_t objectId, object_id_t tcDestination, object_id_t tmStoreId, object_id_t tcStoreId): TmTcBridge(objectId, tcDestination, tmStoreId, tcStoreId) { diff --git a/src/fsfw/osal/common/TcpTmTcBridge.h b/src/fsfw/osal/common/TcpTmTcBridge.h index 06dae5b5..72212078 100644 --- a/src/fsfw/osal/common/TcpTmTcBridge.h +++ b/src/fsfw/osal/common/TcpTmTcBridge.h @@ -29,6 +29,7 @@ class TcpTmTcBridge: public TmTcBridge { friend class TcpTmTcServer; public: + static const std::string DEFAULT_SERVER_PORT; /** * Constructor