callback_mqtt_connect_ok()

Top  Previous  Next

Description:

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

Syntax:

sub callback_mqtt_connect_ok()

Returns:

---

See Also:

Step-by-step Usage Instructions

 


Details

This sub is called when the connection is established after the invocation of mqtt_connect() or mqtt_reconnect().