ANSI C Based OPC UA Client/Server SDK  1.9.0.430
UaClient_ServiceSettings Struct Reference

The UaClient_ServiceSettings structure contains the general settings for a call. More...

#include <uaclient_session.h>

Data Fields

OpcUa_UInt32 CallTimeout
 The timeout for the service call in milliseconds. More...
 
OpcUa_UInt32 ReturnDiagnostics
 Bit mask that defines the diagnostic information to be returned from the server. More...
 
OpcUa_String AuditEntryId
 An identifier that identifies the Client's security audit log entry associated with this request. More...
 
OpcUa_UInt32 RequestHandle
 Request handle used for the service call. More...
 

Detailed Description

The UaClient_ServiceSettings structure contains the general settings for a call.

Field Documentation

OpcUa_String UaClient_ServiceSettings::AuditEntryId

An identifier that identifies the Client's security audit log entry associated with this request.

OpcUa_UInt32 UaClient_ServiceSettings::CallTimeout

The timeout for the service call in milliseconds.

OpcUa_UInt32 UaClient_ServiceSettings::RequestHandle

Request handle used for the service call.

The request handle is sent to the server in the RequestHeader and is used to cancel service invocations. If the request handle is not set (initial value is 0), a unique number is set by the SDK.

The SDK is using numbers above 1.000.000 for creating unique numbers. An application must make sure to only use numbers below 1.000.000 to avoid conflicts when cancel is called.

OpcUa_UInt32 UaClient_ServiceSettings::ReturnDiagnostics

Bit mask that defines the diagnostic information to be returned from the server.

The default setting is 0.

Bit Value Diagnostics to return Define
0x0000 0001 ServiceLevel / SymbolicId OpcUa_DiagnosticsMasks_ServiceSymbolicId
0x0000 0002 ServiceLevel / LocalizedText OpcUa_DiagnosticsMasks_ServiceLocalizedText
0x0000 0004 ServiceLevel / AdditionalInfo OpcUa_DiagnosticsMasks_ServiceAdditionalInfo
0x0000 0008 ServiceLevel / Inner StatusCode OpcUa_DiagnosticsMasks_ServiceInnerStatusCode
0x0000 0010 ServiceLevel / Inner Diagnostics OpcUa_DiagnosticsMasks_ServiceInnerDiagnostics
0x0000 0020 OperationLevel / SymbolicId OpcUa_DiagnosticsMasks_OperationSymbolicId
0x0000 0040 OperationLevel / LocalizedText OpcUa_DiagnosticsMasks_OperationLocalizedText
0x0000 0080 OperationLevel / AdditionalInfo OpcUa_DiagnosticsMasks_OperationAdditionalInfo
0x0000 0100 OperationLevel / Inner StatusCode OpcUa_DiagnosticsMasks_OperationInnerStatusCode
0x0000 0200 OperationLevel / Inner Diagnostics OpcUa_DiagnosticsMasks_OperationInnerDiagnostics

Additional defines for combinations:

Description Define
All service level diagnostic information OpcUa_DiagnosticsMasks_ServiceAll
All operation level diagnostic information OpcUa_DiagnosticsMasks_OperationAll
All diagnostic information without inner status OpcUa_DiagnosticsMasks_NoInnerStatus
All diagnostic information OpcUa_DiagnosticsMasks_All
SymbolicId for service and operation level OpcUa_DiagnosticsMasks_SymbolicId
LocalizedText for service and operation level OpcUa_DiagnosticsMasks_LocalizedText
AdditionalInfo for service and operation level OpcUa_DiagnosticsMasks_AdditionalInfo

The documentation for this struct was generated from the following file: