iot-python
iot-python copied to clipboard
[PATCH] support for paho.mqtt.python 2.0.0
Changes required to support version 2.0.0 of paho.mqtt.python without breaking support for 1.x
Version 2.0.0 introduces a new callback version, to allow for backwards compatability we need to initialize the client as using the older callback version this avoids having to rewrite all the callbacks.