mqttConnectionLoss (Function) |
Top Previous Next |
This returns information about whether a MQTT connection has been interrupted. The mqttConnectionLoss function will return whether an interruption has been detected since last call.
Input: handle : INT The handle to the MQTT connection.
Returns: BOOL TRUE if the connection has been interrupted, FALSE if not.
Declaration: FUNCTION mqttConnectionLoss : BOOL;
Example: INCLUDE rtcu.inc |