ANSI C UA Server SDK
1.5.1.313
|
Functions | |
void | OpcUa_ProxyStubConfiguration_InitializeDefault (OpcUa_ProxyStubConfiguration *a_pProxyStubConfiguration) |
Initialize UA stack configuration structure with default values. More... | |
OpcUa_StatusCode | UaBase_Module_InitializeUaStack (OpcUa_Handle *a_phProxyStubPlatformLayer, OpcUa_ProxyStubConfiguration *a_pProxyStubConfiguration) |
Initialize UA stack. More... | |
OpcUa_StatusCode | UaBase_Module_ClearUaStack (OpcUa_Handle *a_phProxyStubPlatformLayer) |
Clear UA stack. More... | |
void OpcUa_ProxyStubConfiguration_InitializeDefault | ( | OpcUa_ProxyStubConfiguration * | a_pProxyStubConfiguration | ) |
Initialize UA stack configuration structure with default values.
The configuration structure is used to initialize the UA Stack. The default values are set by the stack configuration e.g. in the stack file opcua_config.h
The structure contains the following settings:
Trace settings
bProxyStub_Trace_Enabled - Flag that indicates if the stack trace is activated. This requires that the traces are not disabled with the stack compiler switch. The trace is also used by the Server SDK
uProxyStub_Trace_Level - Tracelevel used if trace is activated. Possible settings are
Serializer settings
This part of the configuration defines the OPC UA Stack serializer settings. These are the security constraints for the serializer. The settings are also relevant for the resource consuption of the UA stack. Set this values carefully.
The other settings should not be changed since they are set by the SDK and changing them will cause undefined behaviour.
a_pProxyStubConfiguration | Configuration structure for the UA Stack. |
OpcUa_StatusCode UaBase_Module_ClearUaStack | ( | OpcUa_Handle * | a_phProxyStubPlatformLayer | ) |
Clear UA stack.
If this function was called, no UA stack functionality can be used any more.
a_phProxyStubPlatformLayer | UA Stack platform layer handle. |
OpcUa_StatusCode UaBase_Module_InitializeUaStack | ( | OpcUa_Handle * | a_phProxyStubPlatformLayer, |
OpcUa_ProxyStubConfiguration * | a_pProxyStubConfiguration | ||
) |
Initialize UA stack.
This function must be called before any UA stack functionality is used.
a_phProxyStubPlatformLayer | UA Stack platfrom layer handle. |
a_pProxyStubConfiguration | Configuration structure for the UA Stack. |