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 disconnected 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.1574676368.txt.gz · Last modified: 2021/09/13 05:56 (external edit)