Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The HTTP The MQTT interface is used to send and receive data and information from HTTP server. The HTTP resource definition table defines the data that is sent to or received from the defined HTTP data pointsMQTT broker. Within this definition file, the used MQTT brokers have to be specified.

Info
titleFile location

<WorkspaceDirectory>\DataFiles\xio.HTTPMqtt.ResourceDefinitionsBroker.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

the key that identifies the resource within the

used to represent the data point

definitions. The name can freely be chosen but has to

. In combination with the Name, it must be unique.

stringNoneempty
3IP addressIP address of MQTT broker.stringNonemandatory
2mandatory
4
Type

type of encoding. 

XML, JSON, URL encoded, TextNonemandatory3Resourceit defines the content that is excepted at the HTTP server. The structure and type depends on the used encoding and on the direction (polling or update). Examples and more information can be found within this tutorial.stringNone
Auto-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 boker.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 file


empty
11CA certificate password


empty
12Culture info


Invariant culture
13Client certificate file


empty
14Client certificate password


empty
15Keep alive timeoutTimeout in seconds between sending keep alive packets to MQTT broker.
seconds60