Skip to content

Commit

Permalink
Merge pull request #21 from hokus15/dependabot/pip/paho-mqtt-2.0.0
Browse files Browse the repository at this point in the history
build(deps): bump paho-mqtt from 1.6.1 to 2.0.0
  • Loading branch information
hokus15 committed Mar 24, 2024
2 parents 8be3ff8 + 3e56226 commit afcdbea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion iotconnect/publishers/mqtt/mqtt_pub.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ def initialize(self):
mqtt.Client.connected_flag = False

# Create MQTT client
self._mqtt_client = mqtt.Client(client_id="IOTConnect-" + str(uuid.uuid4()),
self._mqtt_client = mqtt.Client(callback_api_version=mqtt.CallbackAPIVersion.VERSION1,
client_id="IOTConnect-" + str(uuid.uuid4()),
protocol=mqtt.MQTTv311,
transport="tcp")

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
gps3==0.33.3
obd==0.7.2
paho-mqtt==1.6.1
paho-mqtt==2.0.0
wrapt==1.16.0
logtail-python==0.2.10

0 comments on commit afcdbea

Please sign in to comment.