User Tools

Site Tools


uphp:functions:mqttstat

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

uphp/functions/mqttstat.txt · Last modified: 2021/09/13 05:57 (external edit)