callback_mqtt_connect_lost()

Top  Previous  Next

Description:

Callback procedure, called when connection to the MQTT server is lost. Procedure body has to be created elsewhere in the project (externally with respect to the library).

Syntax:

sub callback_mqtt_connect_lost()

Returns:

---

See Also:

Step-by-step Usage Instructions

 


Details

This sub is called when the connection is lost due to external factors or after the connection is closed due to the invocation of mqtt_disconnect().