Online documentation, manuals and tutorials
< All Topics
Print

MQTTConnect

Description

This Action initiates a connection to the MQTT server, and if the connection is successful, a Connect event will be sent, or an Error event if an error occurred. If an error occurred or the once established connection was interrupted, a periodic reconnect will be attempted until the connection is re-established, which will be reported by sending a Reconnect event. All this happens asynchronously in the background, until MQTTDisconnect is called, and any state change will be reported with an event that can be processed through the MQTTEvent Action.

Properties

Specific

Connection

EXPRESSION (object:MQTTConnection)

The name of the MQTT connection that will be used to establish a connection with the server.

Inputs

seqin

SEQ | OPTIONAL

A standard sequence input.

Outputs

seqout

SEQ | OPTIONAL

A standard sequence output. Flow execution continues immediately through this output, and in the background it tries to establish a connection with the server.

Examples

  • MQTT
Page content