The structure UASessionConnectInfo provides connection information required to create an OPC UA session.
Name |
TypeName |
Comment |
---|---|---|
SessionName |
string[255] |
Defines the name of the session assigned by the client. The string can be empty. The name is shown in the diagnostics information of the server. In case of empty string the server will generate a session name. |
ApplicationName |
string[255] |
Defines the readable name of the OPC UA client application. The string can be empty. |
SecurityMsgMode |
UINT |
Not supported, the value is ignored. |
SecurityPolicy |
UINT |
Not supported, the value is ignored. |
CertificateStore |
string[255] |
Not supported, the value is ignored. |
ClientCertificateName |
string[255] |
Not supported, the value is ignored. |
ServerUri |
string[255] |
Defines the URI of the server. The string can be empty. |
CheckServerCertificate |
BOOL |
Not supported, the value is ignored. |
TransportProfile |
UINT |
UATransportProfile. Transport profile. Only UATP_UATcp ie value 1 is supported. |
UserIdentityToken |
UAUserIdentityToken |
UAUserIdentityToken. User authentication data. |
VendorSpecificParameter |
UAConnectSpecificParameter |
Vendor may define specific parameters. |
SessionTimeout |
TIME |
Defines how long the session will survive when there is no connection. |
MonitorConnection |
TIME |
Defines the interval time to check the connection. If 0, no check is performed. |
LocaleIDs |
ARRAY[1..5] OF string[6] |
Langage and country/region identifier. Format: <language>-<country/region>. Example: en-US. The string could be empty. |
Where UAUserIdentiyToken structure is defined by:
Name |
TypeName |
Comment |
---|---|---|
UAUserIdentityTokenType |
UINT |
Defines the identity Token to authenticate a user during the creation of session. 0 for Anonymous, 1 for Username. |
TokenParam1 |
string[255] |
If TokenType is “Anonymous” ie value 0, not be evaluated, If TokenType "Username", ie value 1, contains user name. |
TokenParam2 |
string[255] |
If TokenType is “Anonymous” ie value 0, not be evaluated, If TokenType "Username", ie value 1, contains password. |
Where UAConnectSpecificParameter structure is defined by:
Name |
TypeName |
Comment |
---|---|---|
OPCUARequestTimeOut |
TIME |
Time out of all the OPCUA request sent by the current connection, if 0 internaly the default value will be 30 s. |
Reserved |
ARRAY[0..31] OF WORD |
For future extension of this specific parameter. |
OPCUARequestTimeOut use depends on the addressed OPC UA server behavior. If the server is configured to take a long time to respond in some cases, such as when the BMENUA0100 module performs online modification synchronisation, the user can extend the timeout.