diff --git a/CMakeLists.txt.user b/CMakeLists.txt.user new file mode 100644 index 00000000..f9b5c939 --- /dev/null +++ b/CMakeLists.txt.user @@ -0,0 +1,273 @@ + + + + + + EnvironmentId + {7cd13185-8f0a-4828-a39b-a90c87177fdb} + + + ProjectExplorer.Project.ActiveTarget + 0 + + + ProjectExplorer.Project.EditorSettings + + true + false + true + + Cpp + + CppGlobal + + + + QmlJS + + QmlJSGlobal + + + 2 + UTF-8 + false + 4 + false + 80 + true + true + 1 + false + true + false + 0 + true + true + 0 + 8 + true + false + 2 + true + true + true + *.md, *.MD, Makefile + false + true + + + + ProjectExplorer.Project.PluginSettings + + + true + false + true + true + true + true + + + 0 + true + + true + true + Builtin.DefaultTidyAndClazy + 2 + + + + true + + + + + ProjectExplorer.Project.Target.0 + + Desktop + MinGW 32bit + MinGW 32bit + {322e3fa8-c77b-446b-a0db-2847debf3b82} + 0 + 0 + 0 + + MinSizeRel + -DCMAKE_GENERATOR:STRING=MinGW Makefiles +-DCMAKE_BUILD_TYPE:STRING=MinSizeRel +-DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{IDE:ResourcePath}/package-manager/auto-setup.cmake +-DCMAKE_CXX_COMPILER:STRING=%{Compiler:Executable:Cxx} +-DCMAKE_C_COMPILER:STRING=%{Compiler:Executable:C} +-DCMAKE_PREFIX_PATH:STRING=%{Qt:QT_INSTALL_PREFIX} +-DQT_QMAKE_EXECUTABLE:STRING=%{Qt:qmakeExecutable} + D:/Coding/C/iec61850/libiec61850_angwangiot/libiec61850-build-MinGW_32bit-MinSizeRel + + + + iec61850 + iec61850-shared + + true + Build + CMakeProjectManager.MakeStep + + 1 + Build + Build + ProjectExplorer.BuildSteps.Build + + + + + clean + + true + Build + CMakeProjectManager.MakeStep + + 1 + Clean + Clean + ProjectExplorer.BuildSteps.Clean + + 2 + false + + false + + Minimum Size Release + CMakeProjectManager.CMakeBuildConfiguration + + 1 + + + 0 + Deploy + Deploy + ProjectExplorer.BuildSteps.Deploy + + 1 + + false + ProjectExplorer.DefaultDeployConfiguration + + 1 + + true + true + true + + 2 + + ProjectExplorer.CustomExecutableRunConfiguration + + false + true + false + true + + 1 + + + + ProjectExplorer.Project.Target.1 + + Desktop + MinGW 64bit + MinGW 64bit + {fcdd76d2-4a09-4fb7-ae7a-85dbdec0159b} + 0 + 0 + 0 + + MinSizeRel + -DCMAKE_GENERATOR:STRING=MinGW Makefiles +-DCMAKE_BUILD_TYPE:STRING=MinSizeRel +-DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{IDE:ResourcePath}/package-manager/auto-setup.cmake +-DQT_QMAKE_EXECUTABLE:STRING=%{Qt:qmakeExecutable} +-DCMAKE_PREFIX_PATH:STRING=%{Qt:QT_INSTALL_PREFIX} +-DCMAKE_C_COMPILER:STRING=%{Compiler:Executable:C} +-DCMAKE_CXX_COMPILER:STRING=%{Compiler:Executable:Cxx} + D:/Coding/C/iec61850/libiec61850_angwangiot/libiec61850-build-MinGW_64bit-MinSizeRel + + + + iec61850 + iec61850-shared + + true + Build + CMakeProjectManager.MakeStep + + 1 + Build + Build + ProjectExplorer.BuildSteps.Build + + + + + clean + + true + Build + CMakeProjectManager.MakeStep + + 1 + Clean + Clean + ProjectExplorer.BuildSteps.Clean + + 2 + false + + false + + Minimum Size Release + CMakeProjectManager.CMakeBuildConfiguration + + 1 + + + 0 + Deploy + Deploy + ProjectExplorer.BuildSteps.Deploy + + 1 + + false + ProjectExplorer.DefaultDeployConfiguration + + 1 + + true + true + true + + 2 + + ProjectExplorer.CustomExecutableRunConfiguration + + false + true + false + true + + 1 + + + + ProjectExplorer.Project.TargetCount + 2 + + + ProjectExplorer.Project.Updater.FileVersion + 22 + + + Version + 22 + + diff --git a/config/stack_config.h.cmake b/config/stack_config.h.cmake index d3ef67b5..cebeef5e 100644 --- a/config/stack_config.h.cmake +++ b/config/stack_config.h.cmake @@ -48,14 +48,23 @@ /* number of concurrent MMS client connections the server accepts, -1 for no limit */ #cmakedefine CONFIG_MAXIMUM_TCP_CLIENT_CONNECTIONS @CONFIG_MAXIMUM_TCP_CLIENT_CONNECTIONS@ +/* set socket buffer size. 1 -> enable */ +#define CONFIG_SET_SOCKET_BUFSIZE 1 + +/* size (in KB) SOCKET RCVBUF */ +#define CONFIG_SOCKET_RCVBUFSIZE 128 + +/* size (in KB) SOCKET SNDBUF */ +#define CONFIG_SOCKET_SNDBUFSIZE 128 + /* activate TCP keep alive mechanism. 1 -> activate */ #cmakedefine01 CONFIG_ACTIVATE_TCP_KEEPALIVE /* time (in s) between last message and first keepalive message */ -#define CONFIG_TCP_KEEPALIVE_IDLE 5 +#define CONFIG_TCP_KEEPALIVE_IDLE 20 /* time between subsequent keepalive messages if no ack received */ -#define CONFIG_TCP_KEEPALIVE_INTERVAL 2 +#define CONFIG_TCP_KEEPALIVE_INTERVAL 5 /* number of not missing keepalive responses until socket is considered dead */ #define CONFIG_TCP_KEEPALIVE_CNT 2