mqtt_reconnect()
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: |
Details
Calling this function instructs the library to startreconnecting to the server. Callback_mqtt_connect_ok is called when the successful connection is made.