Disable MQTT connect error callback after successful connection (#2262)
Disable the error callback of mqtt.client:connect() after a successful connection. This will prevent this function to be called after a future disconnection. Instead the "offline" function is called.
Please register or sign in to comment