1.2.3.16 SYS_MQTT_Disconnect Function

C

void SYS_MQTT_Disconnect(SYS_MODULE_OBJ obj)

Summary

Disconnects from the MQTT Server

Description

This function is used for disconnecting from the MQTT Server.

Precondition

SYS_MQTT_Connect should have been called.

Parameters

obj - SYS_MQTT object handle, returned from SYS_MQTT_Connect

Returns

None

Example

// Handle "objSysMqtt" value must have been returned from SYS_MQTT_Connect.
SYS_MQTT_Disconnect(objSysMqtt);

Remarks

None.