This shows you the differences between two versions of the page.
uphp:functions:mqttstat [2019/11/25 08:33] admin created |
uphp:functions:mqttstat [2021/09/13 05:57] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ======mqttstat====== | ||
- | |||
- | < | ||
- | |||
- | Get MQTT connection status | ||
- | |||
- | ====Description==== | ||
- | |||
- | <well size=" | ||
- | <span style=" | ||
- | <span style=" | ||
- | </ | ||
- | |||
- | ====Parameters==== | ||
- | |||
- | None | ||
- | |||
- | ====Return Values==== | ||
- | |||
- | Array of the following values | ||
- | ^ Key ^ Value ^ | ||
- | | CONNECTED | ||
- | | 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 | ||