Skip to main content



      Home
Home » Eclipse Projects » Paho » Paho MQTT client version(Miration issue)
Paho MQTT client version [message #1868436] Fri, 19 July 2024 06:37
Eclipse UserFriend
A Python module, using MQTT, is to run on various computers. They all have PAHO MQTT python package installed, however both old (pre 2.0) versions and more recent (post 2.0) versions. In the transition phase, which may take months to more than a year, the aforementioned module must run with both old and young versions of the PAHO MQTT modules. I did not find any function which can deliver the version number. How to retrieve the version number of the client software?

Note: my module starts with
 import paho.mqtt.client as mqtt

and creates a connection with
self.client= mqtt.Client( self.mcname )

which needs to be different for version 2.x.
Previous Topic:PSK TLS does not work with mosquitto broker
Next Topic:Support for HTTP proxy with SSL decryption
Goto Forum:
  


Current Time: Sun Jun 15 06:06:02 EDT 2025

Powered by FUDForum. Page generated in 0.03397 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top