User Tools

Site Tools


uphp:functions:mqtt_disconnect

This is an old revision of the document!


mqtt_disconnect

WMMEGA FW >= 2.1161

Disconnect the current MQTT connection

Description

mqtt_disconnect ( )

This function disconnects the current MQTT connection, allowing you to resubscribe in case of a connection issue.

Parameters

None

Return Values

None

Example

<?
  mqtt_disconnect();
?>

See Also

mqtt_publish() - Publish a message to MQTT

mqtt_subscribe() - Subscribe to MQTT messages

mqttstat() - Get the MQTT connection status

getusbstat() - Get USB host status information

uphp/functions/mqtt_disconnect.1631512652.txt.gz · Last modified: 2021/09/13 05:57 by 127.0.0.1