Table of Contents

mqttstat

WMMEGA FW >= 2.1161

Get MQTT connection status

Description

mqttstat ( )

Parameters

None

Return Values

Array of the following values

Key Value
CONNECTED 1 if connected or 0 if disconnected
IDLE 1 if idle or 0 if busy

See Also

mqtt_subscribe() - Subscribe to an MQTT channel

mqtt_publish() - Publish to an MQTT channel

mqtt_disconnect() - Disconnect from MQTT