mqtt_reconnect()

A warning note icon.This section is currently being reworked. We apologize for the inconvenience. If you need immediate assistance, please contact Tibbo Support.


Description:

Instructs the library to reconnect to the MQTT server (broker) using connection parameters previously supplied with mqtt_connect().

Syntax:

function mqtt_reconnect() as ok_ng

Returns:

OK (success) or NG (failure)

See Also:

Step-by-step Usage Instructions

Details

Calling this function instructs the library to startreconnecting to the server. Callback_mqtt_connect_ok is called when the successful connection is made.

mqtt_reconnect()

Details