20#ifndef SOPC_CONFIG_CONSTANTS_CHECK_H_
21#define SOPC_CONFIG_CONSTANTS_CHECK_H_
29#if SOPC_MAX_ENDPOINT_DESCRIPTION_CONFIGURATIONS > INT32_MAX
30#error "Max number of endpoint descriptions cannot be more than INT32_MAX"
33#if SOPC_MAX_SECURE_CONNECTIONS_PLUS_BUFFERED > SOPC_MAX_SOCKETS
34#error "Max number of secure connections cannot be greater than max number of sockets"
38#if SOPC_MAX_SECURE_CONNECTIONS_PLUS_BUFFERED > INT32_MAX
39#error "Max number of secure connections cannot be more than INT32_MAX"
43#if SOPC_MAX_SECURE_CONNECTIONS <= SOPC_MAX_SESSIONS
44#error "Maximum number of secure channel shall be greater than maximum number of session"
48#if SOPC_MAX_SESSIONS > INT32_MAX
49#error "Max number of sessions cannot be more than INT32_MAX"
53#if SOPC_MAX_SESSION_TIMEOUT > UINT32_MAX
54#error "Maximum requested session timeout is > UINT32_MAX"
56#if SOPC_MAX_SESSION_TIMEOUT < SOPC_MIN_SESSION_TIMEOUT
57#error "Maximum requested session timeout is < MIN"
61#if SOPC_MIN_SESSION_TIMEOUT < 10000
62#error "Minimum requested session timeout is < 10000"
64#if SOPC_MIN_SESSION_TIMEOUT > SOPC_MAX_SESSION_TIMEOUT
65#error "Minimum requested session timeout is > MAX"
69#if SOPC_MAX_SUBSCRIPTION_PUBLISH_REQUESTS <= 0
70#error "Minimum subscription publish requests <= 0"
75#if SOPC_MAX_SUBSCRIPTION_PUBLISH_REQUESTS > INT32_MAX / 2
76#error "Maximum subscription publish requests > INT32_MAX / 2"
80#if 2 * SOPC_TIMER_RESOLUTION_MS > SOPC_MIN_SUBSCRIPTION_INTERVAL_DURATION
81#error "Minimum publish interval < 2 * SOPC_TIMER_RESOLUTION_MS"
85#if SOPC_MIN_KEEPALIVE_PUBLISH_INTERVALS < 1
86#error "Minimum subscription keep alive intervals < 1"
90#if SOPC_MAX_KEEPALIVE_PUBLISH_INTERVALS > INT32_MAX
91#error "Maximum subscription keep alive intervals > INT32_MAX"
95#if SOPC_MAX_LIFETIME_PUBLISH_INTERVALS > INT32_MAX
96#error "Maximum subscription lifetime intervals > INT32_MAX"
100#if SOPC_MIN_LIFETIME_PUBLISH_INTERVALS < 3 * SOPC_MIN_KEEPALIVE_PUBLISH_INTERVALS
101#error "Minimum subscription lifetime intervals < 3 * SOPC_MIN_KEEPALIVE_PUBLISH_INTERVALS"
105#if SOPC_MAX_LIFETIME_PUBLISH_INTERVALS < 3 * SOPC_MAX_KEEPALIVE_PUBLISH_INTERVALS
106#error "Maximum subscription lifetime intervals < 3 * SOPC_MAX_KEEPALIVE_PUBLISH_INTERVALS"
110#if SOPC_MAX_OPERATIONS_PER_MSG > INT32_MAX
111#error "Maximum number of operations per message cannot be > INT32_MAX"
115#if S2OPC_NODE_MANAGEMENT && S2OPC_NANO_PROFILE != false
116#error "Node management services cannot be activated for clients with S2OPC_NANO_PROFILE variable set"
An event timer manager which allow to associate an event to enqueue in an event dispatcher manager on...