Online documentation, manuals and tutorials
< All Topics
Print

MQTTInit

Description

Creates and initializes an MQTT connection object with connection parameters that are defined through properties.
This Action must be executed first, and after it the MQTTEvent Action must be called.

Properties

Specific

Connection

ASSIGNABLE EXPRESSION (object:MQTTConnection)

Connection object of type object:MQTTConnection which will be created and initialized.

Protocol

EXPRESSION (string)

The protocol used for the connection. Possible values are "mqtt" or for secure connection "mqtts"

Host

EXPRESSION (string)

The name of the MQTT server to connect to.

Port

EXPRESSION (integer)

The port number that will be used for the connection. The default is 1883.

User name

EXPRESSION (string)

Username to be used for connection authorization. Can be left blank if not used.

Password

EXPRESSION (string)

User password to be used for connection authorization. Can be left blank if not used.

Inputs

seqin

SEQ | OPTIONAL

A standard sequence input.

Outputs

seqout

SEQ | OPTIONAL

A standard sequence output.

Examples

  • MQTT
Page content