MQTT broker definitions

The MQTT interface is used to send and receive data and information from MQTT broker. Within this definition file, the used MQTT brokers have to be specified.

File location

<WorkspaceDirectory>\DataFiles\xio.Mqtt.Broker.dat


Col#Parameter DescriptionScopeUnitMandatory / default value
1NameMandatory name identifying the MQTT broker within the NETx Server. In combination with Path, it must be unique.stringNonemandatory
2Path

The structure that is used to represent the data point. In combination with the Name, it must be unique.

stringNoneempty
3IP addressIP address of MQTT broker.stringNonemandatory
4Auto-ReconnectTimeout in milliseconds between connection attempts. 100 – 65535milliseconds1000
5PortTCP port used for the communication with MQTT broker.0 – 65535TCP port1883
6Client UsernameIf the MQTT broker requires authentication of connecting MQTT client, the username must specified here.stringNoneempty
7Client PasswordIf the MQTT broker requires authentication of connecting MQTT client, the password must specified here.stringNoneempty
8TLSDefines whether TLS shall be enabled for the communication with the MQTT broker.booleantrue/falsefalse
9TLS VersionIf TLS is enabled, the used TLS version must be specified here.None, SSLv3, TLSv1_0, TLSv1_1, TLSv1_2noneNone
10CA certificate fileCertificate file of the CA that issued the broker's TLS certificate. This certificate is used to verify the TLS server certificate. Normally, this file has the extension .crt.stringnoneempty
11CA certificate passwordIf the CA certificate is password protected, the password must be entered here.stringnoneempty
12Culture infoDefines the culture info that is used to transfer values from and to MQTT brokers. If left empty, the culture info from the driver configuration is used.stringnoneCulture from driver configuration
13Client certificate fileIf the broker requires a client certificate for connecting to it, the certificate file has to be defined here. It must also contain the private key. Normally, this file has the extension .pfx.stringnoneempty
14Client certificate passwordIf the client certificate is password protected, the password must be entered here.stringnoneempty
15Keep alive timeoutTimeout in seconds between sending keep alive packets to MQTT broker.1 – 65535seconds60