ST_ConnectionSettings
Syntax
Definition:
TYPE ST_ConnectionSettings :
STRUCT
sHostName : T_MaxString;
nHostPort : UINT := 1883;
sUserId : T_MaxString;
sPassword : T_MaxString;
bWithCertificate : BOOL := BOOL;
sCA : T_MaxString;
sCert : T_MaxString;
sKey : T_MaxString;
sKeyPwd : T_MaxString;
END_STRUCT
END_TYPE
Parameter
Name | Type | Descriptiom |
---|---|---|
sHostName | T_MaxString | sHostName can be specified as name or as IP address. If no information is provided, the local host is used. |
nHostPort | UINT | The host port can be specified here. The default is 1883. |
sUserId | T_MaxString | Optionally, a user name can be specified. |
sPassword | T_MaxString | A password for the user name can be entered here. |
bWithCertificate | BOOL | If TRUE the certificates will be used for communication |
sCA | T_MaxString | Certificate of the certificate authority (CA) |
sCert | T_MaxString | Client certificate to be used for authentication at the broker |
sKey | T_MaxString | Private key of the client |
sKeyPwd | T_MaxString | Password of the private key, if applicable |