The current interface allows a user to connect to a Client using .mqtt.conn which is a wrapper around MQTTClient_connect however there isn't a mechanism to disconnect.
Exposure of the function MQTTClient_disconnect() from the Eclipse C api should allow disconnections to be handled gracefully
Internally raised issue
The current interface allows a user to connect to a Client using
.mqtt.conn
which is a wrapper aroundMQTTClient_connect
however there isn't a mechanism to disconnect.Exposure of the function
MQTTClient_disconnect()
from the Eclipse C api should allow disconnections to be handled gracefullyhttps://www.eclipse.org/paho/files/mqttdoc/MQTTClient/html/_m_q_t_t_client_8h.html#a1e4d90c13a3c0705bc4a13bfe64e6525