mqttdestroy

deletes the client and free memory associated with client instance.

Attention: Valid only with Altair Communication Extension.

Syntax

mqttdestroy(clientid)

Inputs

clientid
client id,an output of mqttclient.
Type: string

Examples

to clear the connection instance from the session
cld = mqttclient('test.mosquitto.org');
		mqttdestroy(cld)