Configure

TIA
Network MQTT Client ActiveClients One client

ns=2;s=DEPRAG Smart/Network/MQTT/ActiveClients/0/Configure

Configures an MQTT client. This command must be executed if the client has been added via the AddUnparameterizedClient method.

Parameters:

    BrokerPort
    Port of the MQTT broker. By default, MQTT uses port 1833 for unencrypted connections and port 8883 for encrypted connections.
    Username
    Username used to authenticate with the specified MQTT broker.
    Password
    Password used to authenticate to the specified MQTT broker.
    AcceptSelfSignedCertificates
    Determines whether unsigned certificates are accepted. If this value is set to yes, the application can connect to MQTT brokers with self-signed certificates.
    EnableSsl
    Defines whether the connection to the MQTT server is performed via the SSL protocol.
    ConnectionTimeoutInMilliseconds
    Maximum time in milliseconds for establishing a connection to the MQTT server. If no connection can be established within the specified time, an error is output.

Returns:

    Configure
    A variable of type OpcMethodReturnValueVoid.

Examples:

For examples and explanations regarding the calls of nodes via Siemens TIA Portal please refer to the sub-menu "Siemens TIA Portal" in section "Getting Started".