Disconnect Method
Disconnect from the MQTTSN Gateway.
Object Oriented Interface
public function doDisconnect();
Procedural Interface
ipworksiot_mqttsn_do_disconnect($res);
Remarks
This method disconnects from the MQTTSN Gateway by sending a DISCONNECT packet. Calling this method is equivalent to setting the Connected property to False.
Refer to the Connected property for more information about MQTT-specific behavior.