UASessionConnectInfo

Overview

Type:

Structure

Available as of:

V1.0.0.0

Inherits from:

-

Attribute:

'pack_mode' := '1'

Description

The structure UASessionConnectInfo is used to provide the connection information required to create an OPC UA session.

Structure Elements

Name

Data type

Description

SessionName

STRING [255]

Name of the session assigned by the client.

The string can be empty.

ApplicationName

STRING [255]

Readable name of the OPC UA client application.

The string can be empty.

SecurityMsgMode

UASecurityMsgMode

Security mode of the communication with the OPC UA server.

Default value: UASMM_BestAvailable

SecurityPolicy

UASecurityPolicy

Security profile of the communication with the OPC UA server.

Default value: UASP_BestAvailable

CertificateStore

STRING [255]

Not supported, value is ignored.

ClientCertificateName

STRING [255]

Not supported, value is ignored.

ServerUri

STRING [255]

Server URI of the server to connect through a gateway server.

The string can be empty.

CheckServerCertificate

BOOL

Flag indicating whether the server certificate is verified with the trust list of the client application.

Default value: TRUE

For more details refer to the How To Manage Certificates with OPC UA Clients, User Guide.

TransportProfile

UATransportProfile

Transport profile.

Only UATP_UATcp is supported.

UserIdentityToken

UAUserIdentityToken

User authentication data.

SessionTimeout

TIME

Time period for which the session is maintained if the communication is interrupted [ms].

Default value: 20 minutes (T#20m)

Value range: 30 s...1 day

MonitorConnection

TIME

Interval time to verify the connection.

Default value: 5 s (T#5s)

Value range: 0,5 s...10 minutes

LocaleIDs

ARRAY [1..5] OF STRING[6]

Language and country/region identifier.

Format: <language>-<country/region>

Example: en-US; zh-CHS

The string can be empty.

Used By

  • UA_Connect